-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.php
executable file
·61 lines (55 loc) · 1.55 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
59
60
61
<?php
#############################################
# DO NOT REMOVE ANYTHONG HERE #
#############################################
#session_start();
define("SH_KEY","API");
define("SH_VALUE","SH");
$SH_AUTH = [
"HEAD"=>[
"API"=>"SH",
"AUTHOR"=>"bala"
],
"AUTH"=>[
"access_token"=>"shservice"
]
];
$_GLOBALS['SH_AUTH'] = $SH_AUTH;
/* CONTROLLER */
#=================================#
define("CONTROLLER_PATH","controller/");
define("MODEL_PATH","model/");
define("HTML_PATH","html/");
define("LIBRARY_PATH","library/");
define("LANG_PATH","language/");
define("EXT_PATH","extender/");
define("CMS_PATH","cms/");
#=================================#
define("APPPATH",""); # __DIR__
define("ENVIRONMENT",""); # DEVELOPMENT
define("BASEPATH",""); # APPPATH."/"
#=================================#
/* DATABASE */
define("HOST","localhost");
define("USERNAME","root");
define("PASSWORD","root");
define("DATABASE","3p-php");
define("DATABASE_TYPE","mysqli");
define("DB_STATUS",true); #
# ADDITIONAL OPTIONS
define("DNS","");
define("DATABASE_PREFIX","");
#############################################
# DO NOT REMOVE ANYTHONG HERE #
#############################################
/*echo "<br>";
echo 'max_execution_time:'.ini_get('max_execution_time');
echo "<br>";
echo 'upload_max_filesize:'.ini_get('upload_max_filesize');
echo "<br>";
echo 'post_max_size:'.ini_get('post_max_size');
echo "<br>";
echo 'memory_limit:'.ini_get('memory_limit');
echo "<br>";
echo 'max_input_vars:'.ini_get('max_input_vars');
echo "<br>"; */