From 468e9a700736166f175b974e185d24d0d2a4f33e Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sun, 13 Jan 2013 00:48:07 -0600 Subject: 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) --- includes/maps.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/maps.php') diff --git a/includes/maps.php b/includes/maps.php index 6a831c8..03bcd81 100644 --- a/includes/maps.php +++ b/includes/maps.php @@ -769,7 +769,7 @@ function formSolution($solution) { //Returns the best solution. function getSolution($userID, $mapID) { - include_once('db.inc.php'); + include_once('sqlEmbedded.php'); $sql = "SELECT `solution`, `moves` FROM `solutions` WHERE `userID` = '$userID' AND @@ -782,7 +782,7 @@ function getSolution($userID, $mapID) { } function getChallengeSolution($userID, $challengeID) { - include_once('db.inc.php'); + include_once('sqlEmbedded.php'); $sql = "SELECT `solution`, `moves` FROM `challengeSolutions` WHERE `userID` = '$userID' AND @@ -795,7 +795,7 @@ function getChallengeSolution($userID, $challengeID) { } function getMapCode($mapID) { - include_once('db.inc.php'); + include_once('sqlEmbedded.php'); $sql = "SELECT `code` FROM `maps` WHERE `ID` = '$mapID' -- cgit v1.2.3