-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
85 lines (67 loc) · 2.46 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
return array (
'database' => array(
'adapter' => 'Pdo_Mysql',
'params' => array (
'host' => 'localhost',
'username' => 'root',
'password' => '',
'dbname' => 'quickspread',
'prefix' => 'vi_',
'profiler' => false //if false, system is quick
)
),
'viewConfig' => array(
'compile_check' => true,
'debugging' => false,
'template_dir' => 'modules/',
'compile_dir' => 'tmp/compile/',
'cache_dir' => 'tmp/cache/',
'plugins_dir' => 'libs/Smarty/plugins/',
'cache_modified_check' => true,
'caching' => false,
'cache_lifetime' => 50//120
),
'layoutConfig' => array(
),
'adminMail' => array(
'auth' => 'login',
'username' => 'emailtest.mwc@gmail.com',
'password' => 'mwc123456',
'ssl' => 'ssl',
'port' => 465,
'mailServer' => 'smtp.gmail.com'
),
'fromMail' => 'info@quickspread.com',
'requiredModule' => array(
'default' => 'default',
'user' => 'user',
'access' => 'access',
'error' => 'error',
'restaurant' => 'restaurant',
'category' => 'category',
'scontent' => 'scontent',
'contact' => 'contact'
),
'log' => array(
'active' => false
),
'defaultLangCode' => 'en',
'defaultApp' => 'front',
'layoutCollection' => 'default',
'defaultLayout' => 'default',
'defaultModule' => 'default',
'defaultController' => 'index',
'defaultAction' => 'index',
'currentMode' => Vi_Constant::DEVELOP_MODE,
'forwardToDefaultAppWhenNotFoundAppName' => true, //or NULL when change to NOT FOUND page.
//If true, default application name can be missed
'defaultNumberRowPerPage' => 10,
'usingOneLanguage' => true,
'dateFormat' => 'd-M-Y',
'useAdminFullControlSystem' => true,
'forgotPasswordExpiredTime' => 86400,
'websiteName' => 'QuickSpread',
'taxFee' => '0.1',
'liveSite' => 'http://hoaitan.com/quickspread/'
);