diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2013-05-28 01:53:27 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2013-05-28 01:53:27 -0500 |
commit | 77b0bd5e51aeefb0d09e7a5bcab633657f299d22 (patch) | |
tree | dd2a6e36a71c719d8eaba74b4c81b8ea1c285246 /globe.php | |
parent | cc1d8051f5eb7a53cbf9e11773f23e650ce88c5d (diff) | |
download | pathery-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.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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'];
|