summaryrefslogtreecommitdiff
path: root/localized_js.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-25 12:34:53 +0400
committerAndrew Dolgov <[email protected]>2013-03-25 12:34:53 +0400
commit90856743c3f792594fb6b69e7caef03aa960331e (patch)
treeb303fc53114a45724dea0f08c2334002fd467555 /localized_js.php
parent41e26a3e07308c82a335588d37779252f9896985 (diff)
localized_js didn't use sessions
Diffstat (limited to 'localized_js.php')
-rw-r--r--localized_js.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/localized_js.php b/localized_js.php
index 3e1c31e56..dcb2159ca 100644
--- a/localized_js.php
+++ b/localized_js.php
@@ -2,9 +2,8 @@
set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
get_include_path());
- define('DISABLE_SESSIONS', true);
-
- require "functions.php";
+ require_once "sessions.php";
+ require_once "functions.php";
header("Content-Type: text/plain; charset=UTF-8");
function T_js_decl($s1, $s2) {