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

Classes

class  Ruth
 

Variables

const RUTH_IGNORE_ROUTE true
 
const RUTH_GET "GET"
 
const RUTH_POST "POST"
 
const RUTH_PUT "PUT"
 
const RUTH_PATCH "PATCH"
 
const RUTH_DELETE "DELETE"
 

Variable Documentation

const RUTH_DELETE "DELETE"
const RUTH_GET "GET"
const RUTH_IGNORE_ROUTE true

Routing system for the framework to handle HTTP requests

Installation on NGINX

location / { root web_root; try_files $uri $uri/ /index.php; index index.php index.html index.htm; }

Installation on Apache RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [QSA,L]

Author
Andre van Zuydam andre.nosp@m.vanz.nosp@m.uydam.nosp@m.@gma.nosp@m.il.co.nosp@m.m GPL http://opensource.org/licenses/gpl-license.php GNU Public License Defined variable to ignoring routes, used with add route
const RUTH_PATCH "PATCH"
const RUTH_POST "POST"
const RUTH_PUT "PUT"