01-09-2015, 07:22 PM
<?php
// Show PHP Errors
error_reporting(E_ALL);
ini_set('display_errors', '0'); // change 0 = off 1 = on
// Your Name
$server_owner = 'VirusLC';
// Mysql IP
$LCSET['cms_host'] = '127.0.0.1'; // dns or ip
// Mysql Login
$LCSET['cms_username'] = 'root'; // Mysql username
$LCSET['cms_password'] = '******'; // Mysql password
// Mysql Databases
$LCSET['cms_lc_auth'] = 'newproject_db_auth'; // auth database
$LCSET['cms_lc_db'] = 'newproject_db'; // db database
$LCSET['cms_lc_data'] = 'newproject_data'; // data database
$LCSET['cms_lc_site'] = 'cms_demo'; // Website Database Name
/* Change this to your newproject_db or newproject_db_auth
If things on the site don't work like online players, payment wall, Buy Stats, Pet Covers etc etc */
$LCSET['cms_lc_authORdb'] = 'newproject_db_user';
/* SMTP Server PHP Support
set to yes if your php supports smtp. Set to no if you get smtp error when registering. */
$Allow_Email_sending = 'no'; // no or yes
// IMPORTANT :
// Never share this salt with anyone!
//(you should change this to match your server if running ep2!!)
$config["Salt"] = 'phoohie1yaihooyaequae7PuiWoeNgahjieth3ru3yeeghaepahb7aeYaipe2we6zii6mai6uweig8siasheinoungeoyeiLohShi2xoh2xi8ooxee9ahpiehahc9Phe';
// Your Time Zone
// List of Supported Timezones
// 2
date_default_timezone_set('Europe/London');
// Added Security Option
$LC_Host = $LCSET['cms_host'];
$LC_User = $LCSET['cms_username'];
$LC_Pass = $LCSET['cms_password'];
$LC_Auth = $LCSET['cms_lc_auth'];
$LC_Db = $LCSET['cms_lc_db'];
$LC_Data = $LCSET['cms_lc_data'];
$LC_Act = $LCSET['cms_lc_authORdb'];
$LC_CMSDb = $LCSET['cms_lc_site'];
// PDO Connector
$pdo_cms = sprintf("mysql:host=%s", $LC_Host );
// PDO Test Connection
try { $con_cms_pdo = new PDO( $pdo_cms,$LC_User,$LC_Pass ); }
catch(PDOException $e) {die('<title>CONFIG ERROR</title><body text="#C0C0C0" bgcolor="#000000"><center><img src="styles/Metal/images/error.png" border="0"><br/><font color=red size=4>Error connecting to the Mysql server</font><br/>If your the admin please check your config settings.<br/>If your not then there is no connection to Mysql sorry, come back later.<br/><br/><br/>-LC-CMS By ToXiC L33T-</body>');}
?>

