1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-08-27 05:40:16 +02:00
Magallanes/bin/mage
2014-09-13 21:30:12 +02:00

29 lines
608 B
PHP
Executable File

#!/usr/bin/env php
<?php
/*
* This file is part of the Magallanes package.
*
* (c) Andrés Montañez <andres@andresmontanez.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
date_default_timezone_set('UTC');
$baseDir = dirname(dirname(__FILE__));
define('MAGALLANES_VERSION', '1.0.1');
define('MAGALLANES_DIRECTORY', $baseDir);
require_once __DIR__ . '/../vendor/autoload.php';
// Clean arguments
array_shift($argv);
// Run Magallanes
$console = new Mage\Console;
$exitCode = $console->run($argv);
exit($exitCode);