diff options
author | Andrew Dolgov <[email protected]> | 2013-03-25 12:34:53 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-25 12:34:53 +0400 |
commit | 90856743c3f792594fb6b69e7caef03aa960331e (patch) | |
tree | b303fc53114a45724dea0f08c2334002fd467555 | |
parent | 41e26a3e07308c82a335588d37779252f9896985 (diff) |
localized_js didn't use sessions
-rw-r--r-- | localized_js.php | 5 |
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) { |