diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-06-05 22:55:43 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-06-05 22:55:43 -0700 |
commit | d64af3489dc17c011394b9facedacb0d27169e67 (patch) | |
tree | 7ab9debd1e84e19c2ef2bcf2f608061a742fd0ac /globe.php | |
parent | be3f89c7581c9156c03f47f3d4f774b6a634afc3 (diff) | |
download | pathery-d64af3489dc17c011394b9facedacb0d27169e67.tar.xz |
Changes to $accepted and some includes moved around.
Diffstat (limited to 'globe.php')
-rw-r--r-- | globe.php | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1,13 +1,9 @@ <?PHP
date_default_timezone_set('America/New_York');
-if (!session_id())
- session_start();
-//session_regenerate_id();
-
-include_once "includes/sqlEmbedded.php";
+if (!session_id()) session_start();
+$accepted = isset($_SESSION['accepted']) && $_SESSION['accepted'] == 1;
function LogError($error) {
-
$today = date("Y-m-d H:i:s");
$fd = fopen("includes/errorlogs.txt", "a");
fwrite($fd, "$today:$error\n");
@@ -230,4 +226,4 @@ function EmailError($data, $subject = "Pathery Error Report") { Return $mail_sent;
}
-?>
+?>
\ No newline at end of file |