From c955c27cbebba3edaab9532834ac72041eccbf58 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Tue, 28 May 2013 02:07:59 -0500 Subject: Edited a few more places where "include_once" was being used within a method. Hopefully this doesn't break anything :) --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 63b23cf..ca81bb1 100644 --- a/index.php +++ b/index.php @@ -14,6 +14,7 @@ if ($showUpdatePage AND $_GET['cu'] !== "true") { //globe will start the session. include_once("globe.php"); include_once("./includes/header.php"); +include_once ('./includes/sqlEmbedded.php'); $accepted = isset($_SESSION['accepted']) && $_SESSION['accepted'] == 1; @@ -29,7 +30,6 @@ if (isset($_SESSION['accepted']) AND $_SESSION['accepted'] == 1) //TODO: We could store this data in the session if ($accepted) { $userID = $_SESSION['userID']; - include_once ('./includes/sqlEmbedded.php'); $sql = " SELECT users.wallColor, -- cgit v1.2.3