You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
481 B
25 lines
481 B
#!/usr/bin/php
|
|
<?php
|
|
|
|
require 'src/main.php';
|
|
|
|
\tts\site_helper::set_default_project("mockup");
|
|
|
|
if (\tts\console_app::is_cli() === false) {
|
|
echo 'Unable to Start';
|
|
exit;
|
|
}
|
|
|
|
echo 'Starting...' . PHP_EOL;
|
|
|
|
$PHPUNIT_Testing = true;
|
|
$cli_args = \tts\site_helper::get_cli_args();
|
|
|
|
\tts\main\setup::init(PROJECT_BASE_DIR, $cli_args, "get", $PHPUNIT_Testing);
|
|
|
|
$found_route = \tts\router::execute();
|
|
|
|
if (!$found_route) {
|
|
$app = new \tts\app();
|
|
$app->load_controller();
|
|
} |