mirror of https://github.com/fspc/biketree.git
Bike Tree - https://biketree.bikelover.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
325 B
19 lines
325 B
7 years ago
|
<?
|
||
|
// OLD CODE DATABASE SHIT
|
||
|
|
||
|
include ("../settings.php");
|
||
|
|
||
|
$db_host = $cfg_server;
|
||
|
$db_user = $cfg_username;
|
||
|
$db_pwd = $cfg_password;
|
||
|
$database = $cfg_database;
|
||
|
|
||
|
|
||
|
|
||
|
if (!mysql_connect($db_host, $db_user, $db_pwd))
|
||
|
die("Can't connect to database");
|
||
|
|
||
|
if (!mysql_select_db($database))
|
||
|
die("Can't select database");
|
||
|
?>
|