forked from WilliamFei/gaga
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.sample.php
More file actions
74 lines (73 loc) · 2.34 KB
/
config.sample.php
File metadata and controls
74 lines (73 loc) · 2.34 KB
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
<?php
/**
* Created by PhpStorm.
* User: zhangjun
* Date: 03/09/2018
* Time: 1:41 PM
*/
return array(
'siteVersionName' => '1.0.12',
'siteVersionCode' => '10012',
'apiPageIndex' => './index.php?action=page.index',
'apiPageLogin' => './index.php?action=page.login',
'apiPageLogout' => './index.php?action=page.logout',
'apiPageJump' => "./index.php?action=page.jump",
'loginPluginId' => '102',
'apiPageWidget' => './index.php?action=page.widget',
'apiPageSiteInit' => "./index.php?action=installDB",
'session_verify_102' => './index.php?action=api.session.verify&body_format=base64pb',
'test_curl' => "./index.php?action=installDB&for=test_curl",
'session_verify_106' => 'http://127.0.0.1:8081/plugin.php?id=duckchat&action=api.session.verify&body_format=base64pb',
"siteAddress" => '',
'passport_cookie_name' => "duckchat_passport_cookie",
'mail' =>
array(
'host' => 'smtp.126.com',
'SMTPAuth' => true,
'emailAddress' => '[email protected]',
'password' => '',
'SMTPSecure' => '',
'port' => 25,
),
'dbType' => 'sqlite',
'dbVersion' => '2',
'sqlite' =>
array(
'sqliteDBPath' => '.',
'sqliteDBName' => '',
),
'mysql' =>
array(
'dbName' => 'duckchat_site',
'dbHost' => '127.0.0.1',
'dbPort' => '3306',
'dbUserName' => 'duckchat',
'dbPassword' => '1234567890',
),
'mysqlSlave' => array(
// 'slave_0' => array(
// 'dbName' => 'duckchat_site',
// 'dbHost' => '127.0.0.1',
// 'dbPort' => '3306',
// 'dbUserName' => 'duckchat',
// 'dbPassword' => '1234567890',
// ),
// 'slave_1' => array(
// 'dbName' => 'duckchat_site',
// 'dbHost' => '127.0.0.1',
// 'dbPort' => '3306',
// 'dbUserName' => 'duckchat',
// 'dbPassword' => '1234567890',
// ),
// 'slave_2' => array(
// 'dbName' => 'duckchat_site',
// 'dbHost' => '127.0.0.1',
// 'dbPort' => '3306',
// 'dbUserName' => 'duckchat',
// 'dbPassword' => '1234567890',
// ),
),
'logPath' => '.',
"debugMode" => false,
'msectime' => 1535945699185.0,
);