Los Santos the Next Episode
#1

Ok I've had this script for a few weeks and I can't seem to understand how to edit the config.inc.php file. I know most of it but was wondering if someone can help me out with the parts I need help on.

Код:
<?
/*
Credits:

- Alessandro Morandi 'www.simbul.net' (Tipmage-1.0.js file)
- http://www.freecsstemplates.org/ (some parts of the css/template)
- Lokesh Dhakar - http://www.huddletogether.com (lightbox.css and lightbox.js file)
- Sneaky (testing + ideas)

  
    Los Santos The Next Episode Stats/Control Panel php Website
    Copyright © 2008  G-sTyLeZzZ

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
(I dont know how to edit these parts)
--------------------------
/*$config = array(
'Host' => '85.17.177.164',  < i guess that's the IP for the website I am hosting this file on
'User' => 'sneaky', <no clue
'Pass' => 'haxors', <no clue
'DB' => 'LSTNE');*/ <no clue

$config->Favorite	= 'stats.lstne.net';

//MySQL Configuration
 
// MySQL Host
$config->Host 		= 'localhost'; < I kinda have a clue but I still need more explanation
// MySQL Database Pass
$config->User 		= 'user';   < I kinda have a clue but I still need more explanation
// MySQL User
$config->Pass 		= 'pass';  < I kinda have a clue but I still need more explanation
// MySQL Database
$config->DB    		= 'db';  < I kinda have a clue but I still need more explanation
--------------------------

//Other Stuff
(I know how to edit this part)
//control panel version
$config->Version 	= 'Control Panel 1.01 beta';
//website title
$config->Websitetitle 	= 'Los Santos The Next Episode';
//header title
$config->Header		= 'Los Santos The Next Episode';
// footer title
$config->Footer		= 'Copyright &copy; 2008 Los Santos The Next Episode';
// socket to query the server  ( 1 = on ; anthing else = off )
$config->Socket		= 1;
// your server ip
$config->ServerIP	= '91.121.117.84';
// server port 
$config->Port		= 1337;
// Max Players in the server        
$config->MaxPlayers	= 100;

//Directory

//directory of the gangzone file ( important to draw the gangzones! )
$config->ZoneDir	= '../../../server/scriptfiles/main/zones.ini';
//zones amount                       
$config->Zoneamount	= 26;
//player positions file directory ( used for the onlinemap to show player location/stats )
$config->playerinfo	= '../../../server/scriptfiles/info.txt';  
//allowed types for avatar upload
$config->types = array('jpg', 'gif', 'png');
//maximal filesize for avatars
$config->maxsize = 200*200;
//upload dir for avatars
$config->upload_dir = 'images/avatars/'; 
?>
Reply


Messages In This Thread
[Help]Los Santos the Next Episode editing config.inc.php - by Jose 510 - 21.07.2010, 18:24
Re: Los Santos the Next Episode - by MisterTickle - 21.07.2010, 19:07
Re: Los Santos the Next Episode - by Jose 510 - 21.07.2010, 19:15
Re: Los Santos the Next Episode - by MisterTickle - 21.07.2010, 19:19
Re: Los Santos the Next Episode - by Jose 510 - 21.07.2010, 20:05
Re: Los Santos the Next Episode - by Jose 510 - 22.07.2010, 03:16
Re: [Help]Los Santos the Next Episode editing config.inc.php - by Jose 510 - 22.07.2010, 06:17

Forum Jump:


Users browsing this thread: 1 Guest(s)