View Single Post
  #250  
Old 01-29-2016, 08:58 PM
Dremis
Fire Beetle
 
Join Date: Jan 2016
Posts: 20
Default

here's d:\xampp\htdocs\peqedit\config.php

Code:
<?php

// Database Information:
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = 'eqemu';
$db = 'peq';
$mysql_class = 'mysqli'; // 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 = '';

// 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/sql_log.sql";

// Automatically create new logs monthly.
$filetime = date("m-Y");
$log_file = "logs/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 = 0;

// Path for quests without trailing slash.
$quest_path = "D:/eqemuserver/quests"

?>
and here's d:\xampp\htdocs\peqedit\.htaccess

Code:
#Starting in Apache 2.4, they changed methods for allow/deny. To be certain of proper function, comment/uncomment the proper lines. Defaulting to 2.2 for now.
#See http://httpd.apache.org/docs/2.4/upgrading.html#access for more information

Options -Indexes

#Apache 2.2 and earlier
#<Files ~ "\.(php|sql)$">
#  Order deny,allow
#  Deny from all
#</Files>

#<Files index.php>
#  Order allow,deny
#  Allow from all
#</files>

#<Files aasearch.php>
#  Order allow,deny
#  Allow from all
#</files>

Apache 2.4 and later
<Files ~ "\.(php|sql)$">
  Require all denied
</Files>

Apache 2.4 and later
<Files index.php>
  Require all granted
</Files>

Apache 2.4 and later
<Files aasearch.php>
  Require all granted
</Files>
and here's d:\xampp\htdocs\peqedit\templates\iframes\.htacces s

Code:
#Starting in Apache 2.4, they changed methods for allow/deny. To be certain of proper function, comment/uncomment the proper lines. Defaulting to 2.2 for now.
#See http://httpd.apache.org/docs/2.4/upgrading.html#access for more information

Options -Indexes

#Apache 2.2 and earlier
#<Files ~ "\.(php|sql)$">
#  Order deny,allow
#  Deny from all
#</Files>

#<Files index.php>
#  Order allow,deny
#  Allow from all
#</files>

#<Files aasearch.php>
#  Order allow,deny
#  Allow from all
#</files>

Apache 2.4 and later
<Files ~ "\.(php|sql)$">
  Require all denied
</Files>

Apache 2.4 and later
<Files index.php>
  Require all granted
</Files>

Apache 2.4 and later
<Files aasearch.php>
  Require all granted
</Files>

If I missed one let me know.
Reply With Quote