forked from drrr-like-chat/drrr-like-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setting.dist.php
62 lines (52 loc) · 1.22 KB
/
setting.dist.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
<?php
/**
* Admin
*/
define('DURA_ADMIN_NAME', 'admin');
define('DURA_ADMIN_PASS', 'admin');
/**
* URL & Path
*/
define('DURA_URL', 'http://localhost:8000'); // DO NOT ADD SLASH TO END.
define('DURA_PATH', dirname(__FILE__));
/**
* Trust Path directory sould be put outside of Document Root.
*/
define('DURA_TRUST_PATH', DURA_PATH.'/trust_path');
define('DURA_XML_PATH', DURA_TRUST_PATH.'/xml');
define('DURA_TEMPLATE_PATH', DURA_TRUST_PATH.'/template');
/**
* If use mod_rewrite, set true.
*/
define('DURA_USE_REWRITE', false);
/**
* Chat room settings
*/
define('DURA_LOG_LIMIT', 25);
define('DURA_TIMEOUT', 300); // 5 mins
define('DURA_USER_MIN', 3);
define('DURA_USER_MAX', 10);
define('DURA_ROOM_LIMIT', 10);
define('DURA_SITE_USER_CAPACITY', 100);
define('DURA_CHAT_ROOM_EXPIRE', 1800); // 30 mins
define('DURA_MESSAGE_MAX_LENGTH', 140);
/**
* Language setting
*/
define('DURA_LANGUAGE', 'ja-JP');
/**
* Title settings
*/
define('DURA_TITLE', 'Durarara like chat room');
define('DURA_SUBTITLE', 'Durarara fan community');
/**
* Session name
*/
define('DURA_SESSION_NAME', 'durarara-like-chat');
/**
* Comet settings
*/
define('DURA_USE_COMET', 0);
define('DURA_SLEEP_LOOP', 300);
define('DURA_SLEEP_TIME', 1);
?>