mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-17 21:26:40 +02:00
Fix regression: custom tasks not found
This commit is contained in:
parent
dd79eca75f
commit
384247bcd9
8
bin/mage
8
bin/mage
|
@ -22,12 +22,12 @@ if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
|
|||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
} else if (file_exists(__DIR__ . '/../../../autoload.php')) {
|
||||
require_once __DIR__ . '/../../../autoload.php';
|
||||
} else {
|
||||
require_once $baseDir . '/Mage/Autoload.php';
|
||||
$loader = new \Mage\Autoload();
|
||||
spl_autoload_register(array($loader, 'autoLoad'));
|
||||
}
|
||||
|
||||
require_once $baseDir . '/Mage/Autoload.php';
|
||||
$loader = new \Mage\Autoload();
|
||||
spl_autoload_register(array($loader, 'autoLoad'));
|
||||
|
||||
// Clean arguments
|
||||
array_shift($argv);
|
||||
|
||||
|
|
Loading…
Reference in a new issue