![]() |
Tina4Stack
v1.0.1
The Tina4 Stack
|
Functions | |
tina4Message ($message, $error="Error") | |
Variables | |
global | $_TINA4_SYSTEM_ROUTES = ["/cody/*", "/maggy/*", "/phpinfo", "/kim/*", "/debby/*", "/tessa/*", "/debug"] |
$_TINA4_LOAD_PATHS = "" | |
if(file_exists(realpath(__DIR__."/../tina4")."/Shape.php")) else if(file_exists(realpath(__DIR__."/tina4")."/Shape.php")) | else |
if(!defined("TINA4_INCLUDES")) define("TINA4_INCLUDES" | project |
if(!defined("TINA4_SESSION")) define("TINA4_SESSION" | TINA4 |
if(!defined("TINA4_RUTH_DEBUG")) define("TINA4_RUTH_DEBUG" | false |
tina4Message | ( | $message, | |
$error = "Error" |
|||
) |
$_TINA4_LOAD_PATHS = "" |
$_TINA4_SYSTEM_ROUTES = ["/cody/*", "/maggy/*", "/phpinfo", "/kim/*", "/debby/*", "/tessa/*", "/debug"] |
if (strpos(Ruth::getREQUEST_URI(),"/cody")!==false) if (file_exists("kim.db")&&strpos(Ruth::getREQUEST_URI(),"/maggy")===false) if (php_sapi_name()==="cli-server"&&preg_match('/\.(?:png|jpg|jpeg|gif|css|js)$/', $_SERVER["REQUEST_URI"])) else |
Check for mobile device
Parse all the routes, never delete this code below, you can pass a single variable through to fake the route for testing.
if (!defined("TINA4_RUTH_DEBUG")) define("TINA4_RUTH_DEBUG" false |
if (!defined("TINA4_INCLUDES")) define("TINA4_INCLUDES" project |
if (!defined("TINA4_SESSION")) define("TINA4_SESSION" TINA4 |