<?php
/*
Ceres Control Panel
This is a control pannel program for
Athena and Freya
Copyright (C) 2005 by Beowulf and Nightroad
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 2
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, write
to the Free Software
Foundation, Inc., 51 Franklin Street,
Fifth Floor, Boston, MA 02110-1301,
USA.
To contact any of the authors about
special permissions send
a mail to cerescp@gmail.com
*/
//sql connections
$CONFIG['db_serv'] = 'localhost'; //
SQL Host
$CONFIG['db_user'] = 'root'; // SQL
User
$CONFIG['db_pass'] = ''; // SQL Password
$CONFIG['rag_db'] = 'rangarok'; // SQL
Ragnarok Database name
$CONFIG['cp_db'] = 'cp'; // SQL CP Database
name
$CONFIG['md5_pass'] = '0'; // Use MD5
password (enable = 1, disable = 0)
$CONFIG['safe_pass'] = '1'; // Force
the use of a safer password with size
6 and at least 2 letter and 2 numbers
(enable = 1, disable = 0)
//Admin Area
$CONFIG['cp_admin'] = '99'; // CP admin
functions
//WOE
// sun = sunday, mon = monday, tue =
tuesday, wed = wednesday, thu = thursday,
fri = friday, sun = sunday
// place week_day(start_time, end_time)
and a ';' between the times the freya
default woe times is set as an example
// there is no limit you can place as
many as you want, no spaces are needed,
but using it you can understand.
$CONFIG['woe_time'] = 'tue(2100, 2300);
sat(1600, 1800);';
//server name, rates
$CONFIG['name'] = 'Nombre de tu serverl';
// name of the server
$CONFIG['rate'] = 'rates de tu server';
// rates of the server
//map,char,login servers settings
$CONFIG['accip'] = 'ipexternadelserver';
// Account/Login Server IP
$CONFIG['accport'] = '6900'; // Account/Login
Server Port
$CONFIG['charip'] = 'ipexternadelserver';
// Char Server IP
$CONFIG['charport'] = '6121'; // Char
Server Port
$CONFIG['mapip'] = 'ipexternadelserver';
// Zone/Map Server IP
$CONFIG['mapport'] = '5121'; // Zone/Map
Server Port
//default language
$CONFIG['language'] = 'Espanol'; //
default language (remember to check
if the translation exist before set)
//cp features
$CONFIG['disable_account'] = '0'; //
disable the account creation disable
= 1, enable = 0
$CONFIG['password_recover'] = '1'; //
password recover enable = 1, disable
= 0
$CONFIG['reset_enable'] = '1'; // reset
position enable = 1, disable = 0
$CONFIG['reset_cost'] = '1'; // reset
position cost, disable cost = 0
$CONFIG['money_transfer'] = '1'; //
money transfer enable = 1, disable =
0
$CONFIG['money_cost'] = '0'; // money
transfer cost (100 = 1%), disable cost
= 0
$CONFIG['set_slot'] = '1'; // change
char slot enable = 1, disable = 0
$CONFIG['reset_look'] = '1'; // reset
char equips and colors with error enable
= 1, disable = 0
$CONFIG['marry_enable'] = '1'; // enable
marriage view and divorce
$CONFIG['auth_image'] = '1'; // enable
the verification code image, to check
if it's a real person using the cp,
instead of a bot (brute-force atack)
- Recommended, but requires gd library
(enable = 1 disable = 0)
//Mail
$CONFIG['smtp_server'] = 'smtp.yoursmtpserver.com';
// the smtp server, the cp will use
to send mails
$CONFIG['smtp_port'] = 'smtp.yoursmtpserver.com';
// the smtp server port
$CONFIG['smtp_mail'] = 'gamemaster@youremail.com';
// the email of the admin
$CONFIG['smtp_username'] = ''; // the
username of the smtp server
$CONFIG['smtp_password'] = ''; // the
password of the smtp server
//DO NOT MESS WITH THIS
extract($CONFIG, EXTR_PREFIX_ALL, "CONFIG");
extract($_GET, EXTR_PREFIX_ALL, "GET");
extract($_POST, EXTR_PREFIX_ALL, "POST");
extract($_SERVER, EXTR_PREFIX_ALL, "SERVER");
?> |