-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.config.php
executable file
·93 lines (80 loc) · 1.83 KB
/
template.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
/**
*! Please Don't edit this file if you don't know what you are doing
*
** This file contains all the settings and DataBase configuration
*
* all configuration will be automatically saved here in installation time
*
* This file contains the following configuration
** Database credentials
** Database table prefix
** Secret keys
** Core settings
*/
/**
* Database host
* require to connect with database
*/
define("DATABASE_HOSTNAME", "");
/**
* Database name
* require to connect with database
** Which database to connect
*/
define("DATABASE_NAME", "");
/**
* Database user username
* require to connect with database
** Username to use in connection
*/
define("DATABASE_USERNAME", "");
/**
* Database user password
* require to connect with database
** Password for the use to use in connection
*/
define("DATABASE_PASSWORD", "");
/**
* Database charset
* require to create table in database
*/
define("DATABASE_CHARSET", "utf8");
/**
* Database table prefix
* Prepend to table name
*/
define("TABLE_PREFIX", "");
/**
* Default user image name
* when user doesn't uploaded an image this image will be in use
* Image should be placed in public/uploads/image/ directory with this name
*/
define("DEFAULT_USER_IMAGE_NAME", "user.png");
/**
* Student id initialization
* start student id from
*/
define("STUDENT_ID_START_FROM", "000000000000001");
# Maximum image file size in MB
define("MAX_IMAGE_UPLOAD_SIZE", 10);
# Handle installation
define("APP_INSTALLED", "0");
/**
* Installer IP
* If same required to create super admin
*/
define("APP_INSTALLER_IP", "");
/**
* Environment
*/
define("APP_ENVIRONMENT", "production");
/**
* Show pdo error mode - bool
* turn off in production
*/
if (APP_ENVIRONMENT === "development") {
define("SHOW_PDO_ERROR", true);
} else {
define("SHOW_PDO_ERROR", false);
}