summaryrefslogtreecommitdiffstats
path: root/includes/sqli.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-01-13 00:48:07 -0600
committerBlueRaja <BlueRaja.admin@gmail.com>2013-01-13 00:48:07 -0600
commit468e9a700736166f175b974e185d24d0d2a4f33e (patch)
treeb6285a4ff0922225655575b96cfb775a9ed0174c /includes/sqli.php
parentbc85a3f1cf8030f1d6400f24b70ea16f717350bd (diff)
downloadpathery-468e9a700736166f175b974e185d24d0d2a4f33e.tar.xz
db.inc.php now only contains the database login info; the actual connection to the DB has been moved to includes/sqlEmbedded. This was done so we don't need to have the db info in two separate files (one of which is in the repo, derp)
Diffstat (limited to 'includes/sqli.php')
-rw-r--r--includes/sqli.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/includes/sqli.php b/includes/sqli.php
index 0974380..d19069b 100644
--- a/includes/sqli.php
+++ b/includes/sqli.php
@@ -1,12 +1,4 @@
<?php
-
-//global $mysqlid;
-$db_host = "db2894.perfora.net";
-$db_user = "dbo362854667";
-$db_name = "db362854667";
-$db_pass = "mazes4me";
-// $mysqlid = @mysql_connect($db_host,$db_user, $db_pass) or die("Cannot connect to database.");
-// @mysql_select_db($db_name, $mysqlid) or die("Invalid database.");
-
+include_once('db.inc.php');
$mysqli = mysqli_connect($db_host, $db_user, $db_pass, $db_name) or die("Failed to connect to database");
?> \ No newline at end of file