Phar support, more plugins and presets
This commit is contained in:
11
src/app.php
11
src/app.php
@ -11,5 +11,14 @@ define("DIALOG_SAVEFILE", "savefile");
|
||||
require_once __DIR__."/../vendor/autoload.php";
|
||||
|
||||
use VfxApply\Application;
|
||||
|
||||
// Find the actual root, follow links, and strip the bin part if local
|
||||
if (!($script = dirname(@readlink($_SERVER['SCRIPT_NAME']))))
|
||||
$script = dirname($_SERVER['SCRIPT_NAME']);
|
||||
if (basename($script)=='bin')
|
||||
$script = dirname($script);
|
||||
|
||||
define("APP_ROOT", $script);
|
||||
|
||||
$app = new Application();
|
||||
$app->run();
|
||||
$app->run();
|
||||
|
Reference in New Issue
Block a user