mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			483 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			483 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env php
 | 
						|
<?php
 | 
						|
date_default_timezone_set('UTC');
 | 
						|
 | 
						|
if (file_exists(__DIR__ . '/../../../autoload.php')) {
 | 
						|
    require __DIR__ . '/../../../autoload.php';
 | 
						|
} elseif (file_exists(__DIR__ . '/../vendor/autoload.php')) {
 | 
						|
    require __DIR__ . '/../vendor/autoload.php';
 | 
						|
}
 | 
						|
 | 
						|
use Mage\MageApplication;
 | 
						|
 | 
						|
try {
 | 
						|
    $mage = new MageApplication('.mage.yml');
 | 
						|
    $mage->run();
 | 
						|
} catch (Exception $exception) {
 | 
						|
    printf('Error: %s' . PHP_EOL, $exception->getMessage());
 | 
						|
    exit(9);
 | 
						|
}
 |