forked from ProjectEQ/peqphpeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php.dist
84 lines (68 loc) · 2.35 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
<?php
// Database Information:
$dbhost = 'localhost';
$dbuser = 'username';
$dbpass = 'password';
$db = 'database_name';
$mysql_class = 'mysql'; // Use mysql or mysqli
/* Limit zone lists to a specified expansion
* (i.e. setting $expansion_limit to 2 would cause only Classic and Kunark zones
* to appear in zone drop-down lists)
* 1 = EQ Classic
* 2 = The Ruins of Kunark
* 3 = The Scars of Velious
* 4 = The Shadows of Luclin
* 5 = The Planes of Power
* 6 = The Legacy of Ykesha
* 7 = Lost Dungeons of Norrath
* 8 = Gates of Discord
* 9 = Omens of War
* 10 = Dragons of Norrath
* 11 = Depths of Darkhollow
* 12 = Prophecy of Ro
* 13 = The Serpent's Spine
* 14 = The Buried Sea
* 15 = Secrets of Faydwer
* 16 = Seeds of Destruction
* 17 = Underfoot
* 18 = House of Thule
* 19 = Veil of Alaris
* 20 = Rain of Fear
* 21 = Call of the Forsaken
* 22 = The Darkened Sea
* 99 = Other
*/
$expansion_limit = 22;
// How NPCs are listed. 1 = by NPCID (zoneidnumber*1000), 2 = By spawn2 entry
$npc_list = 1;
// Spawngroup list limit. Limits how many spawngroups are displayed as result of a Coord/NPC search. Specific NPC lists are not effected.
$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 = "logs";
// Log SQL queries: 1 = on, 0 = off
$logging = 1;
// $log_file = path to the file your sql logs will be saved in.
// If you want a single log file, uncomment next line and comment the two monthly log options.
//$log_file = $logs_dir . "/sql_log.sql";
// Automatically create new logs monthly.
$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 = 0;
// Log all MySQL queries that result in an error.
$log_error = 0;
// Enable or disable user logins.
$enable_user_login = 1;
// Enable or disable read only guest mode log in.
$enable_guest_mode = 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";
?>