parent
f0799885f3
commit
a27f96a986
@ -0,0 +1,28 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
declare(strict_types=1); |
||||||
|
|
||||||
|
require 'src/before_main.php'; |
||||||
|
\bs_tts\site_helper::set_all_projects(['mockup']); |
||||||
|
\bs_tts\site_helper::set_default_project("mockup"); |
||||||
|
|
||||||
|
$PHPUNIT_Testing = false; |
||||||
|
|
||||||
|
$cli_args = "/mockup/app/home/op_cache"; |
||||||
|
\bs_tts\site_helper::init(PROJECT_BASE_DIR, $cli_args, "get", $PHPUNIT_Testing); |
||||||
|
|
||||||
|
require 'src/main.php'; |
||||||
|
|
||||||
|
if (\tts\console_app::is_cli() === false) { |
||||||
|
echo 'Unable to Start'; |
||||||
|
exit; |
||||||
|
} |
||||||
|
|
||||||
|
echo 'Starting...' . PHP_EOL; |
||||||
|
|
||||||
|
//$returned_route = \tts\router::execute(); |
||||||
|
|
||||||
|
//if ($returned_route["found"] === false) { |
||||||
|
$app = new \tts\app(); |
||||||
|
$app->load_controller(); |
||||||
|
//} |
||||||
Loading…
Reference in new issue