A Sample PHP Project for the tts_framework.
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.
 
 
 

13 lines
416 B

<?php
function setup(string $route) {
$p_dir = dirname(__DIR__, 2) . "/src/";
require_once $p_dir . 'before_main.php';
\tts\site_helper::set_all_projects(['mockup', 'ex', 'live']);
\tts\site_helper::set_default_project("mockup");
$PHPUNIT_Testing = true;
\tts\site_helper::init(PROJECT_BASE_DIR, $route, "get", $PHPUNIT_Testing);
require_once PROJECT_BASE_DIR . 'main.php';
}