2023-02-14 01:21:52 +01:00
|
|
|
#!/usr/bin/php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
use EesyPHP\App;
|
|
|
|
use EesyPHP\Cli;
|
|
|
|
|
2023-02-26 19:09:22 +01:00
|
|
|
if (isset($_composer_autoload_path))
|
|
|
|
require $_composer_autoload_path;
|
|
|
|
else if (file_exists(__DIR__ . '/../../autoload.php'))
|
|
|
|
require __DIR__ . '/../../autoload.php';
|
|
|
|
else if (file_exists(__DIR__ . '/../vendor/autoload.php'))
|
|
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
else if (file_exists(__DIR__."/vendor/autoload.php"))
|
|
|
|
require __DIR__."/vendor/autoload.php";
|
|
|
|
else
|
|
|
|
die("Fail to find composer vendor/autoload.php file\n");
|
|
|
|
|
2023-02-14 01:21:52 +01:00
|
|
|
App::init(null, null, __DIR__);
|
2023-02-28 01:13:43 +01:00
|
|
|
Cli :: handle_args(null, true);
|