Merge remote-tracking branch 'upstream/master' into develop

This commit is contained in:
Jakub Turek 2015-02-19 20:29:59 +01:00
commit c64364ce60
2 changed files with 4 additions and 2 deletions

View file

@ -18,6 +18,8 @@ define('MAGALLANES_DIRECTORY', $baseDir);
if (file_exists(__DIR__ . '/../vendor/autoload.php')) { 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')) {
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();

View file

@ -14,8 +14,8 @@
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Mage\\": "./Mage", "Mage\\": "./Mage",
"Task\\": ".mage/tasks", "Task\\": [".mage/tasks", "../../../.mage/tasks"],
"Command\\": ".mage/commands" "Command\\": [".mage/tasks", "../../../.mage/commands"]
} }
}, },
"config": { "config": {