mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-09-13 12:40:18 +02:00
Fix to actual composer autoload.php
This commit is contained in:
parent
c6f4d1ffda
commit
4cce76472e
4
bin/mage
4
bin/mage
@ -16,8 +16,8 @@ $baseDir = dirname(dirname(__FILE__));
|
|||||||
define('MAGALLANES_VERSION', '1.0.3');
|
define('MAGALLANES_VERSION', '1.0.3');
|
||||||
define('MAGALLANES_DIRECTORY', $baseDir);
|
define('MAGALLANES_DIRECTORY', $baseDir);
|
||||||
|
|
||||||
if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
|
if (file_exists(__DIR__ . '/../../../autoload.php')) {
|
||||||
require_once __DIR__ . '/../vendor/autoload.php';
|
require_once __DIR__ . '/../../../autoload.php';
|
||||||
} else {
|
} else {
|
||||||
require_once $baseDir . '/Mage/Autoload.php';
|
require_once $baseDir . '/Mage/Autoload.php';
|
||||||
$loader = new \Mage\Autoload();
|
$loader = new \Mage\Autoload();
|
||||||
|
Loading…
Reference in New Issue
Block a user