Skip to content

Commit

Permalink
config.php-dist indention & make install instructions clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcuzz committed Oct 18, 2013
1 parent f571094 commit e0c60dc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ Features
- Reset Players locations.
- Leaderboard
- Stats and player search
- View player chat/belogs - (Requires FTP if panel is not hosted on the same computer as the server)
- View player Chat/BeLogs - (Requires FTP if panel is not hosted on the same computer as the server)

==================
Installation
==================
- Import dayz.sql in the sql folder to your database.
- Rename config.php-dist to config.php.
- Edit config.php and set to the right values. This is highly important!
- The default login is: admin/123456
- 1: Import the sql file called dayz.sql located in the folder called sql to the same MySQL database as your server.
- 2: Rename the file called config.php-dist in the main directory to config.php.
- 3: Edit config.php and set it to the right values. This is highly important!
- The default credentials are: admin/123456

==================
Updating
==================
- Check for any new files to run in the sql/updates folder.
- Check that your config.php is up to date with the new config.php-dist if it has been edited
- Check that your config.php is up to date with newer versions of the config.php-dist.
32 changes: 16 additions & 16 deletions config.php-dist
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@
$enableTracking = 1; // show tracks of player/vehicle movement on the map, green dot = start of track, yellow dot = end
$maxTrackingPositions = 50; // how many positions to keep per player/vehicle when tracking
$keepTracksAfterLogout = 0; // 0 - remove player tracks after they logout, 1 - keep showing tracks
$refreshPlayersOnline = 60; // seconds, set to 0 to disable
$refreshPlayersOnline = 60; // seconds, set to 0 to disable

//FTP - Server chat (Does not need to be specified if hosted locally, only use $local_path if that's the case!)
$chat_enabled = 0; // 0(No), 1(Yes)
$ftp_host = ""; // FTP server hostname (IP)
$ftp_username = ""; // FTP username
$ftp_password = ""; // FTP password
//Paths, only use one of these.
$ftp_path = ""; // Path from FTP root to your BEC server dir (Example: Bec/Log/Server1 / Leave blank if root)
// Full path on your local machine to the Bec/Log/Server1 directory.
// Ex for windows: C:\\DayZServer\\dayz1.Chernarus\\Bec\\Log\\Server1
// Ex for Linux: /DayZServer/dayz1.Chernarus/Bec/Log/Server1
$local_path = "";

//FTP - Server chat (Does not need to be specified if hosted locally, only use $local_path if that's the case!)
$chat_enabled = 0; // 0(No), 1(Yes)
$ftp_host = ""; // FTP server hostname (IP)
$ftp_username = ""; // FTP username
$ftp_password = ""; // FTP password
//Paths, only use one of these.
$ftp_path = ""; // Path from FTP root to your BEC server dir (Example: Bec/Log/Server1 / Leave blank if root)
// Full path on your local machine to the Bec/Log/Server1 directory.
// Ex for windows: C:\\DayZServer\\dayz1.Chernarus\\Bec\\Log\\Server1
// Ex for Linux: /DayZServer/dayz1.Chernarus/Bec/Log/Server1
$local_path = "";

//security
$security = "admin"; // allows you to rename the admin.php file to secure your install **Not Active Yet**

//Social Media
$EnableSocialMedia = 1; //Enable social media section (1 yes, 0 no)
$socialheader = "Infecting Your Social Media"; // Social Media Header
Expand All @@ -51,10 +51,10 @@
$vimeo = ""; //Vimeo Page
$youtubeenabled = 0; //Enable media button (1 yes, 0 no)
$youtube = ""; //YouTube

//Top Links
$ManuPanelLink = 1; // Enable the dashboard link? (1 yes, 0 no)

//Top Right Logo - Leave these settings blank to disable the top right logo
$rightlogoImg = ""; // Link to a logo / image
$rightlogoLink = ""; // Put a website link here to lead the user to that page upon clicking the logo
Expand Down

0 comments on commit e0c60dc

Please sign in to comment.