mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-09-16 05:50:16 +02:00
Fix regression: custom tasks not found
This commit is contained in:
parent
dd79eca75f
commit
384247bcd9
4
bin/mage
4
bin/mage
@ -22,11 +22,11 @@ if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
|
|||||||
require_once __DIR__ . '/../vendor/autoload.php';
|
require_once __DIR__ . '/../vendor/autoload.php';
|
||||||
} else if (file_exists(__DIR__ . '/../../../autoload.php')) {
|
} else if (file_exists(__DIR__ . '/../../../autoload.php')) {
|
||||||
require_once __DIR__ . '/../../../autoload.php';
|
require_once __DIR__ . '/../../../autoload.php';
|
||||||
} else {
|
}
|
||||||
|
|
||||||
require_once $baseDir . '/Mage/Autoload.php';
|
require_once $baseDir . '/Mage/Autoload.php';
|
||||||
$loader = new \Mage\Autoload();
|
$loader = new \Mage\Autoload();
|
||||||
spl_autoload_register(array($loader, 'autoLoad'));
|
spl_autoload_register(array($loader, 'autoLoad'));
|
||||||
}
|
|
||||||
|
|
||||||
// Clean arguments
|
// Clean arguments
|
||||||
array_shift($argv);
|
array_shift($argv);
|
||||||
|
Loading…
Reference in New Issue
Block a user