mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-27 01:38:57 +02:00
Big refactoring. Use of Namespaces and codestyles. PSR-0, PSR-1, PSR-2.
This commit is contained in:
@@ -18,11 +18,11 @@ define('MAGALLANES_VERSION', '0.9.14');
|
||||
// Preload
|
||||
require_once $baseDir . '/Mage/spyc.php';
|
||||
require_once $baseDir . '/Mage/Autoload.php';
|
||||
spl_autoload_register(array('Mage_Autoload', 'autoload'));
|
||||
spl_autoload_register(array('Mage\\Autoload', 'autoload'));
|
||||
|
||||
// Clean arguments
|
||||
array_shift($argv);
|
||||
|
||||
// Run Magallanes
|
||||
$console = new Mage_Console;
|
||||
$console = new Mage\Console;
|
||||
$console->run($argv);
|
||||
|
||||
Reference in New Issue
Block a user