1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-09-13 12:40:18 +02:00
Magallanes/bin/mage.php

19 lines
390 B
PHP
Raw Normal View History

2011-11-22 12:16:06 +01:00
<?php
2011-11-27 14:05:06 +01:00
date_default_timezone_set('UTC');
2011-11-22 12:16:06 +01:00
$baseDir = dirname(dirname(__FILE__));
2013-01-07 18:58:58 +01:00
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'));
2011-11-22 12:16:06 +01:00
// Clean arguments
array_shift($argv);
2011-11-22 12:16:06 +01:00
// Run Magallanes
$console = new Mage_Console;
$console->run($argv);