summaryrefslogtreecommitdiffstats
path: root/globe.php
diff options
context:
space:
mode:
Diffstat (limited to 'globe.php')
-rw-r--r--globe.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/globe.php b/globe.php
index 87218a5..22d34c5 100644
--- a/globe.php
+++ b/globe.php
@@ -1,6 +1,10 @@
<?PHP
date_default_timezone_set('America/New_York');
-include_once('includes/db.inc.php');
+if (!session_id())
+ session_start();
+//session_regenerate_id();
+
+include_once "includes/sqlEmbedded.php";
function LogError($error) {
@@ -65,7 +69,6 @@ function sql_clean($string) {
function CookieLogin() {
global $accepted, $mydomain;
- include_once "includes/sqlEmbedded.php";
$userID = $_COOKIE['userID'];
$auth = $_COOKIE['auth'];