summaryrefslogtreecommitdiffstats
path: root/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'db.php')
-rw-r--r--db.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/db.php b/db.php
index bf82544..7f44350 100644
--- a/db.php
+++ b/db.php
@@ -6,9 +6,9 @@
function DB_open()
{
- global $DB;
- if ( $DB = mysql_connect('mysql.nubati.net','doko', '$DoKo#.') )
- mysql_select_db('dokodb') or die('Could not select database');
+ global $DB,$DB_user,$DB_host,$DB_database,$DB_password;
+ if ( $DB = mysql_connect($DB_host,$DB_user, $DB_password) )
+ mysql_select_db($DB_database) or die('Could not select database');
else
die (mysql_error());