summaryrefslogtreecommitdiffstats
path: root/globe.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-05-28 01:53:27 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2013-05-28 01:53:27 -0500
commit77b0bd5e51aeefb0d09e7a5bcab633657f299d22 (patch)
treedd2a6e36a71c719d8eaba74b4c81b8ea1c285246 /globe.php
parentcc1d8051f5eb7a53cbf9e11773f23e650ce88c5d (diff)
downloadpathery-77b0bd5e51aeefb0d09e7a5bcab633657f299d22.tar.xz
Fixed bug causing SQLi errors after user has been logged in for 30 minutes
Diffstat (limited to 'globe.php')
-rw-r--r--globe.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/globe.php b/globe.php
index 526d306..dd9902d 100644
--- a/globe.php
+++ b/globe.php
@@ -4,7 +4,7 @@ if (!session_id())
session_start();
//session_regenerate_id();
-include_once('includes/db.inc.php');
+include_once "includes/sqlEmbedded.php";
function LogError($error) {
@@ -69,7 +69,6 @@ function sql_clean($string) {
function CookieLogin() {
global $accepted, $mydomain;
- include_once "includes/sqlEmbedded.php";
$userID = $_COOKIE['userID'];
$auth = $_COOKIE['auth'];