summaryrefslogtreecommitdiffstats
path: root/globe.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-05-28 00:01:06 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-05-28 00:01:06 -0700
commit9f2aa0767634648e4813c8e6d10fc6b8dbeff293 (patch)
tree7bedb03cf3d23ae81804c655ba613a7c40232d28 /globe.php
parent048138970237ac1a0784ac779bc74b73b04d49be (diff)
parent77b0bd5e51aeefb0d09e7a5bcab633657f299d22 (diff)
downloadpathery-9f2aa0767634648e4813c8e6d10fc6b8dbeff293.tar.xz
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
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'];