php-spark/bin/spark
Christopher Vagnetoft 0d8844f499 Updated readme, misc fixes
* Look for spark config in parent directories
* Version tracking via src/version
2021-12-08 22:19:20 +01:00

14 lines
257 B
PHP
Executable File

#!/usr/bin/env php
<?php
if (file_exists(__DIR__."/../src/version"))
require_once __DIR__."/../src/version";
else {
define("APP_VERSION", "dev");
}
require_once __DIR__."/../vendor/autoload.php";
$app = new Spark\SparkApplication();
$app->run();