Tina4Stack  v1.0.1
The Tina4 Stack
tina4.php File Reference

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
 

Function Documentation

tina4Message (   $message,
  $error = "Error" 
)

Use Maggy to help with database migrations

Use Tessa to run selenium tests, selenium server must be downloaded and running on the default port

Variable Documentation

$_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
Initial value:
{
tina4Message("Please check your tina4 installation, we cannot find includes local to your web root")
tina4Message($message, $error="Error")
Definition: tina4.php:8

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