diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2013-05-28 02:07:59 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2013-05-28 02:07:59 -0500 |
commit | c955c27cbebba3edaab9532834ac72041eccbf58 (patch) | |
tree | a6fc54a3b73e043bf61e73f446d358a866cc7b58 /ajax/misc.ajax.php | |
parent | 77b0bd5e51aeefb0d09e7a5bcab633657f299d22 (diff) | |
download | pathery-c955c27cbebba3edaab9532834ac72041eccbf58.tar.xz |
Edited a few more places where "include_once" was being used within a method. Hopefully this doesn't break anything :)
Diffstat (limited to 'ajax/misc.ajax.php')
-rw-r--r-- | ajax/misc.ajax.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ajax/misc.ajax.php b/ajax/misc.ajax.php index 64eeccc..76a3158 100644 --- a/ajax/misc.ajax.php +++ b/ajax/misc.ajax.php @@ -1,6 +1,8 @@ <? ob_start("ob_gzhandler"); +include_once('../includes/maps.php'); + if ($_GET[r] == 'solution') { solutionRespond(); exit; @@ -10,7 +12,6 @@ function solutionRespond() { session_start(); session_write_close(); if ($_SESSION['accepted'] != 1) exit; - include_once('../includes/maps.php'); $userID = $_SESSION['userID']; $mapID = $_GET['mapid'] * 1; |