-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.inc.private.php
executable file
·31 lines (26 loc) · 1.08 KB
/
init.inc.private.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
<?php
!defined('WEB_HOST') && define('WEB_HOST', 'http://www.tp5.com');
!defined('WEB_BASE') && define('WEB_BASE', '/');
!defined('ADMIN_USER_ENABLED') && define('ADMIN_USER_ENABLED', true);
/**
* Redis Config [requirepass redis@123456]
*/
!defined('REDIS_ENABLED') && define('REDIS_ENABLED', true);
!defined('REDIS_HOST') && define('REDIS_HOST', '127.0.0.1');
!defined('REDIS_PASSWORD') && define('REDIS_PASSWORD', 'redis@123456');
!defined('REDIS_PORT') && define('REDIS_PORT', '6379');
!defined('REDIS_DATABASE') && define('REDIS_DATABASE', '0');
/**#@+
* database information
*/
!defined('DB_HOST') && define('DB_HOST', '127.0.0.1');
!defined('DB_PORT') && define('DB_PORT', '3306');
!defined('DB_USERNAME') && define('DB_USERNAME', 'root');
!defined('DB_PASSWORD') && define('DB_PASSWORD', '123456');
!defined('DB_DATABASE') && define('DB_DATABASE', 'yfinance');
/**
* WebScoket Config
*/
!defined('WEBSCOKET_ENABLED') && define('WEBSCOKET_ENABLED', false);
!defined('WEBSCOKET_HOST') && define('WEBSCOKET_HOST', '127.0.0.1');
!defined('WEBSCOKET_PORT') && define('WEBSCOKET_PORT', '9502');