mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-25 00:30:17 +02:00
20 lines
409 B
PHP
Executable file
20 lines
409 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
date_default_timezone_set('UTC');
|
|
|
|
$baseDir = dirname(dirname(__FILE__));
|
|
|
|
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'));
|
|
|
|
// Clean arguments
|
|
array_shift($argv);
|
|
|
|
// Run Magallanes
|
|
$console = new Mage_Console;
|
|
$console->run($argv);
|