2013-06-18 02:17:31 +02:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
date_default_timezone_set('UTC');
|
2011-11-22 12:16:06 +01:00
|
|
|
|
2013-06-18 02:17:31 +02:00
|
|
|
$baseDir = dirname(dirname(__FILE__));
|
2011-11-22 12:16:06 +01:00
|
|
|
|
2013-06-18 02:17:31 +02:00
|
|
|
define('MAGALLANES_VERSION', '0.9.14');
|
2011-11-22 12:16:06 +01:00
|
|
|
|
2013-06-18 02:17:31 +02:00
|
|
|
// 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);
|