This repository has been archived by the owner on Apr 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefinitions.php
44 lines (40 loc) · 1.79 KB
/
definitions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* Definitions for self knowing of structure
*/
define('DS', DIRECTORY_SEPARATOR);// Shortcut for system directory separator
define('ROOT', dirname(__FILE__));// Root directory shortcut
define('APP', 'app'.DS.'main');// App/Main directory shortcut
define('MODULES', 'app'.DS.'modules');// Modules directory shortcut
/**
* Let blank if you are executing the project since the root folder of de host
* (e.g. 'www' ou 'httpdocs');
* Double attention needed if you use case-sensitive server rules
*/
define('URL_BASE', '');
/**
* Turn it FALSE if you dont want to treat and show routes errors
* default = TRUE
*/
define('SHOW_ROUTE_ERRORS', true);
define('LOGGED_IN', 1800);// Limit time for logged in seconds (1800 = 30 min)
/**
* Definitions about your project
* Some of this info will be apear into the header of the project pages
*/
define('AUTHOR', 'Elionai Moura');// It means YOU!
define('TITLE', 'Puisque je doute, je pense; puisque je pense, j´existe');// General <title> content for the project!
define('CATEGORY', 'Framework');// General category of the project!
define('DESCRIPTION', 'Batteries included and modular PHP Framework');// Description of content
define('KEYWORDS', 'Framework, Responsive, Web, App, PHP-Fig');// Keywords of content
define('LANGUAGE', 'en-US');// Defines @LANG property on <html> tag
/**
* Definitions about the database conection
*/
define('HOST', 'localhost');// Database host
define('PORT', '');// Database conection port: let blank for default, 3306 = MySQL; 5432 = PostgreSQL
define('DBUSER', '');// Database username
define('DBPASS', '');// Database password
define('DBNAME', '');// Database name
define('DBUTF8', true);// Database encoding, set false for default encoding in connection
define('DBPREFIX', 'mysql');// Database conection prefix: mysql, pgsql, sqlsrv etc