Файл: public_html/core/base.php
Строк: 38
<?php
$startPageGenTime = microtime();
/*
*
$connect = array('host', 'users', 'passworld', 'sql');
*
*/
$connect = array('localhost', 'cd90484_lasthero', '112233', 'cd90484_lasthero');
$base = $db = new mysqli($connect['0'], $connect['1'], $connect['2'], $connect['3']);
$base -> query("SET NAMES 'UTF8'");
if($base -> connect_errno) die('ERROR -> '.$base -> connect_error);
/*
*
Connect -> memcache
*
*/
$memcache = new Memcache;
$memcache->connect('127.0.0.1', 11211) or die ('Error connecting to Memcache');
/*
*
load file game
*
*/
include_once ('func.php');
include_once('modules.func.php');
include_once('campaign.func.php');
?>