mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-03 16:50:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			646 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			646 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', '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);
 |