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.
15 lines
342 B
15 lines
342 B
<?php
|
|
|
|
require '../src/main.php';
|
|
|
|
\tts\site_helper::set_default_project("mockup");
|
|
|
|
$PHPUNIT_Testing = false;
|
|
\tts\main\setup::init(PROJECT_BASE_DIR, $_SERVER['REQUEST_URI'], $_SERVER['REQUEST_METHOD'], $PHPUNIT_Testing);
|
|
|
|
$found_route = \tts\router::execute();
|
|
|
|
if (!$found_route) {
|
|
$app = new \tts\app();
|
|
$app->load_controller();
|
|
} |