mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-17 05:06:52 +02:00
15 lines
379 B
PHP
Executable file
15 lines
379 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;
|
|
|
|
$mage = new MageApplication();
|
|
$mage->configure('.mage.yml');
|
|
$mage->run(); |