PHP Classes

File: config/global.php

Recommend this page to a friend!
  Classes of Boss Ibrahim Mussa   Wepesi PHP Router with Parameters   config/global.php   Download  
File: config/global.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Wepesi PHP Router with Parameters
Route requests to functions or controller classes
Author: By
Last change:
Date: 1 year ago
Size: 295 bytes


Class file image Download
// default Language
define("LANG", "fr");

//web root configaration
define('WEB_ROOT', str_replace('public/index.php', '', $_SERVER['SCRIPT_NAME']));
define('ROOT', str_replace('public/index.php', '', $_SERVER['SCRIPT_FILENAME']));

// default timezone
define('TIMEZONE', 'Africa/Kigali');