1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-08-26 05:10:17 +02:00

Address issue #3. Allow install in a custom directory. By default no root user is checked.

This commit is contained in:
Andrés Montañez 2013-06-17 21:17:09 -03:00
parent 345e70ca0b
commit f8476197ac

View File

@ -1,18 +0,0 @@
<?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);