diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-01-14 14:49:51 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-01-14 14:49:51 -0800 |
commit | 59fc439d341900d99c00a31ff1653b274ba2a037 (patch) | |
tree | 5bd4b89bb500bc5557750228030ee0f2b8e2fb6d /includes/maps.php | |
parent | fab36d921f22cb5999357932785e03aa88269f8d (diff) | |
parent | 532faa4d5cc5b20fba8422c87b0aac846874af43 (diff) | |
download | pathery-59fc439d341900d99c00a31ff1653b274ba2a037.tar.xz |
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Conflicts:
css/challenge.css
Diffstat (limited to 'includes/maps.php')
-rw-r--r-- | includes/maps.php | 6 |
1 files changed, 3 insertions, 3 deletions
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'
|