-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.php
62 lines (42 loc) · 1.3 KB
/
configuration.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
59
60
61
62
<?php
/* Application Configuration File for the entire MVC Framework */
/* General Application's Configurations */
// The Entire Application/Software Name
define('APP_NAME', 'autocoder');
// The Entire Application/Software language
define('APP_LANG', 'pt-br');
//Page Charset
define('APP_CHARSET', 'utf-8');
// The Entire Application/Software Name
define('APP_HOME', 'autocoder');
// Timezone
date_default_timezone_set('America/Sao_Paulo');
// Application Base Path
define('BASE_PATH', dirname(__FILE__));
// Home URL
define('HOME_URI', 'http://localhost/autocoder');
// Upload directory path
define('UPLOAD_PATH', BASE_PATH . '/view/uploads');
// 404 Page for not found files
define('PAGE_404', BASE_PATH . '/system/404.php');
// 405 Page for Forbidden Areas
define('PAGE_405', BASE_PATH . '/system/405.php');
// Debug mode, in case of application development
define('DEBUG', true);
/* Database Configuration */
// DataBase Management System Driver, default is mysql
define('DB_DRIVER', 'mysql'); // see: http://php.net/manual/pt_BR/pdo.drivers.php
// Hostname
define('DB_HOSTNAME', 'localhost');
// Name
define('DB_NAME', 'autocoder');
// User
define('DB_USER', 'root');
// Password
define('DB_PASSWORD', '');
// Charset
define('DB_CHARSET', 'utf8');
function dd($var) {
var_dump($var);
die();
}