Browse Source

Fix to actual composer autoload.php

1.0
Jérémy Huet 10 years ago
parent
commit
4cce76472e
  1. 4
      bin/mage

4
bin/mage

@ -16,8 +16,8 @@ $baseDir = dirname(dirname(__FILE__));
define('MAGALLANES_VERSION', '1.0.3');
define('MAGALLANES_DIRECTORY', $baseDir);
if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
require_once __DIR__ . '/../vendor/autoload.php';
if (file_exists(__DIR__ . '/../../../autoload.php')) {
require_once __DIR__ . '/../../../autoload.php';
} else {
require_once $baseDir . '/Mage/Autoload.php';
$loader = new \Mage\Autoload();

Loading…
Cancel
Save