mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-08-26 05:10:17 +02:00
ADVICE: there is no Backwards Compatibility with custom tasks, those using the _config instance will be broken or those using the getEnvironmentName().
19 lines
390 B
PHP
19 lines
390 B
PHP
<?php
|
|
date_default_timezone_set('UTC');
|
|
|
|
$baseDir = dirname(dirname(__FILE__));
|
|
|
|
define('MAGALLANES_VERSION', '0.9.10');
|
|
|
|
// Preload
|
|
require_once $baseDir . '/Mage/spyc.php';
|
|
require_once $baseDir . '/Mage/Autoload.php';
|
|
spl_autoload_register(array('Mage_Autoload', 'autoload'));
|
|
|
|
// Clean arguments
|
|
array_shift($argv);
|
|
|
|
// Run Magallanes
|
|
$console = new Mage_Console;
|
|
$console->run($argv);
|