summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-05-28 02:07:59 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2013-05-28 02:07:59 -0500
commitc955c27cbebba3edaab9532834ac72041eccbf58 (patch)
treea6fc54a3b73e043bf61e73f446d358a866cc7b58 /index.php
parent77b0bd5e51aeefb0d09e7a5bcab633657f299d22 (diff)
downloadpathery-c955c27cbebba3edaab9532834ac72041eccbf58.tar.xz
Edited a few more places where "include_once" was being used within a method. Hopefully this doesn't break anything :)
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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,