mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	Address issue #3. Allow install in a custom directory. By default no root user is checked.
This commit is contained in:
		
							parent
							
								
									345e70ca0b
								
							
						
					
					
						commit
						f8476197ac
					
				
							
								
								
									
										18
									
								
								bin/mage.php
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								bin/mage.php
									
									
									
									
									
								
							@ -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);
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user