Файл: WM-Koder/system/db_conn.php
Строк: 19
<?php
define('DBhost', 'localhost');
define('DBuser', '');
define('DBpass', '');
define('DBname', '');
$copy = '(c) DigMAS 2013';
$site = htmlentities($_SERVER['HTTP_HOST']);
mysql_connect(DBhost, DBuser, DBpass) or die('Database does not exist...');
mysql_select_db(DBname) or die('Lost connection to SQL database...');
mysql_query('SET charset utf8');
mysql_query('SET names utf8');
mysql_query('SET character_set_client="utf8"');
mysql_query('SET character_set_connection="utf8"');
mysql_query('SET character_set_result="utf8"');
?>