19 lines
464 B
PHP
19 lines
464 B
PHP
<?php
|
|
if (!defined('GAME')) {
|
|
die();
|
|
}
|
|
|
|
$db = [
|
|
's' => 'localhost', // server
|
|
'd' => 'newcom1_abk', // database
|
|
'u' => 'newcom1_abk', // user
|
|
'p' => '4nWYsIM[c?}P' // password
|
|
];
|
|
$dsn = 'mysql:host=' . $db['s'] . ';dbname=' . $db['d'];
|
|
|
|
include_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'mysql_override.php';
|
|
|
|
$dbgo = mysql_connect($db['s'], $db['u'], $db['p']);
|
|
mysql_select_db($db['d'], $dbgo);
|
|
mysql_query('SET NAMES cp1251');
|