Phar support, more plugins and presets

This commit is contained in:
2017-01-13 02:18:46 +01:00
parent 1938337bb0
commit 0ca1da06e7
13 changed files with 328 additions and 43 deletions

View File

@ -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();