-
Notifications
You must be signed in to change notification settings - Fork 4
/
default.settings.php
executable file
·51 lines (43 loc) · 1.36 KB
/
default.settings.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
<?php
error_reporting(E_ALL & ~E_NOTICE);
date_default_timezone_set('Asia/Shanghai');
set_time_limit(600); // 10 minutes
// Xiaoyou database
define('DB_NAME', 'xiaoyou');
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_HOST', 'localhost');
// User information database (for registration)
define('UDB_NAME', 'users');
define('UDB_USER', 'usermanager');
define('UDB_PASS', '');
define('UDB_HOST', 'localhost');
// Misc.
define('HOST_URL', 'http://localhost');
define('SITE_BASE', '/xiaoyou');
define('TITLE_SUFFIX', ' | ACM班校友录');
define('AVATAR_DIR', '/Users/xjia/tmp/avatar/');
define('AVATAR_BASE', '/avatars');
define('UPLOAD_DIR', '/srv/http/xiaoyou/upload/');
define('UPLOAD_BASE', '/upload');
define('UPLOAD_EXT',serialize(array('jpg','png','bmp','gif')));
define('SMTP_PRO', 'ssl');//ssl or tls
define('SMTP_ADDR', 'smtp.googlemail.com');
define('SMTP_PORT', '465');
define('SMTP_USER', 'liuexp@gmail.com');
define('SMTP_PASS', '');
define('SESSIONS_PATH', '/Users/xjia/tmp/sessions/');
/**
* Send invitations with Reply-To this email.
*/
define('ADMIN_EMAIL', 'admin@example.com');
/**
* Number of recent activities displayed on the front-page.
*/
define('ACTIVITIES_LIMIT', 10);
/**
* List the user names of editors here.
* Separate names using the pipe sign (|).
*/
define('EDITOR_IDS', '|root|xjia|');
define('RECENT_ARTICLE_THRESHOLD', 5);