Christopher Vagnetoft
0d8844f499
* Look for spark config in parent directories * Version tracking via src/version
14 lines
257 B
PHP
Executable File
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();
|