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) --- do.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'do.php') diff --git a/do.php b/do.php index bbaa665..1009a91 100644 --- a/do.php +++ b/do.php @@ -2,7 +2,7 @@ session_start(); include "includes/maps.php"; -include "includes/db.inc.php"; +include "includes/sqlEmbedded.php"; include "includes/datas.php"; //FirePHP stuff - TODO: Delete @@ -373,7 +373,7 @@ die(json_encode($json)); function isCurrentMap($mapID) { // TODO: change methodology - include_once('./includes/db.inc.php'); + include_once('./includes/sqlEmbedded.php'); $sql = "SELECT maps.ID FROM `mapOfTheDay` LEFT JOIN `maps` ON maps.ID = `mapID` -- cgit v1.2.3