-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
executable file
·58 lines (45 loc) · 1.51 KB
/
config.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/**
* This file has been designed to auto-config all your
* path variables like path, url and others automaticaly
* for this it have to stay the same folder as your index.php
*
* If you want to put it in another place you should to config manualy
* or modify our auto-generate code.
*
* @author Kléderson Bueno <[email protected]>
* @version 1.0
*/
################################
# System Settings
################################
require_once('sysConfig.php');
################################
# Getting current session if exists
################################
session_name(PHPBURN_SESSIONNAME);
session_start();
################################
# Error and Message System
################################
error_reporting(E_ALL & ~E_NOTICE);
//Turn the Messages and Logs and Erros ON
PhpBURN_Message::setMode(PhpBURN_Message::FIREBUG); //You can Choose FIREPHP, BROWSER OR FILE for now than more can came latter
################################
# Internacionalization Settings
################################
setlocale(LC_ALL, 'en_US');
date_default_timezone_set('America/Sao_Paulo');
################################
# Modules
################################
# To load the module just remove the # comment from the line
# Views
PhpBURN::loadModule('View');
# Controller
PhpBURN::loadModule('Controller');
# To load the module just remove the # comment from the line
PhpBURN::loadModule('Model');
# Spices
PhpBURN::loadModule('Spices');
?>