-
Notifications
You must be signed in to change notification settings - Fork 26
/
config.php.dist
136 lines (119 loc) · 3 KB
/
config.php.dist
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?php
date_default_timezone_set('UTC');
/**
* environment loader
*
* @param $variable
* @param $default
*
* @return array|false|string
*/
function env($variable, $default)
{
return getenv($variable) ? getenv($variable) : $default;
}
/**
* Database info
*/
$dbhost = env('DB_HOST', 'localhost');
$dbuser = env('DB_USER', 'username');
$dbpass = env('DB_PASSWORD', 'password');
$db = env('DB_NAME', 'database_name');
$dbport = env('DB_PORT', 3306);
/**
* Content database info
*/
$use_content_db = FALSE;
$content_dbhost = env('CONTENT_DB_HOST', 'remote_host');
$content_dbuser = env('CONTENT_DB_USER', 'remote_username');
$content_dbpass = env('CONTENT_DB_PASSWORD', 'remote_password');
$content_db = env('CONTENT_DB_NAME', 'remote_database_name');
$content_dbport = env('CONTENT_DB_PORT', 3306);
/**
Limit editor listings to a specified expansion
----------------------------------------------
-1 | All Expansions
0 | Classic Everquest
1 | Ruins of Kunark
2 | Scars of Velious
3 | Shadows of Luclin
4 | Planes of Power
5 | Legacy of Ykesha
6 | Lost Dungeons of Norrath
7 | Gates of Discord
8 | Omens of War
9 | Dragons of Norrath
10 | Depths of Darkhollow
11 | Prophecy of Ro
12 | The Serpents Spine
13 | The Buried Sea
14 | Secrets of Faydwer
15 | Seeds of Destruction
16 | Underfoot
17 | House of Thule
18 | Veil of Alaris
19 | Rain of Fear
20 | Call of the Forsaken
21 | The Darkened Sea
22 | The Broken Mirror
23 | Empires of Kunark
24 | Ring of Scale
25 | The Burning Lands
26 | Torment of Velious
27 | Claws of Veeshan
28 | Terror of Luclin
29 | Night of Shadows
30 | Laurion's Song
99 | Other
*/
$expansion_limit = env('EXPANSION_LIMIT', 26);
/**
* How NPCs are listed. 1 = by NPCID (zoneidnumber*1000), 2 = By spawn2 entry
*/
$npc_list = 1;
$spawngroup_limit = 150;
/**
* Dont want to have to type the username and password every time you start the editor?
*
* Set the two variables below to the values you want to be in the form when you start it up.
*
* (default login: admin pw: password)
*/
$login = '';
$password = '';
/**
* Logs directory location
*/
$logs_dir = env('LOG_DIRECTORY', 'logs');
/**
* Log SQL queries: 1 = on, 0 = off
*/
$logging = env('LOG_SQL_WRITE_QUERIES', 1);
$filetime = date("m-Y");
$log_file = $logs_dir . "/sql_log_$filetime.sql";
/**
* Log all MySQL queries (If disabled only write entries are logged - recommended.)
*/
$log_all = env('LOG_ALL_SQL_QUERIES', 0);
/**
* Log all MySQL queries that result in an error
*/
$log_error = env('LOG_SQL_ERRORS', 0);
/**
* Enable or disable user logins.
*/
$enable_user_login = env('ENABLE_USER_LOGIN', 1);
/**
* Enable or disable read only guest mode log in
*/
$enable_guest_mode = env('GUEST_MODE_ENABLE', 1);
/**
* Path for quests without trailing slash
*/
$quest_path = "/path/to/quests";
/**
* Perl scripts
*/
$perl_path = "perl";
$perl_log_file = $logs_dir . "/perl_log_$filetime.log";
?>