We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6934647 commit 5bea19fCopy full SHA for 5bea19f
src/Autoload/Magento/ModuleControllerAutoloader.php
@@ -18,7 +18,7 @@ final class ModuleControllerAutoloader
18
public function __construct(string $codePool, string $magentoRoot = null)
19
{
20
if (empty($magentoRoot)) {
21
- $magentoRoot = \dirname(BP, 2);
+ $magentoRoot = BP;
22
}
23
$this->codePool = $codePool;
24
$this->magentoRoot = $magentoRoot;
0 commit comments