summaryrefslogtreecommitdiff
path: root/localized_js.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-11-30 06:00:28 +0100
committerAndrew Dolgov <[email protected]>2007-11-30 06:00:28 +0100
commit3b1390d5ea4a21c21388de3845d05a88d55c953f (patch)
tree25eadb7d6414a086462df836453d87972a28cfb6 /localized_js.php
parent3de99e6b6ccc2a343e04cf04389ed4f862b755ef (diff)
disable sessions properly in localized_js.php (closes #181)
Diffstat (limited to 'localized_js.php')
-rw-r--r--localized_js.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/localized_js.php b/localized_js.php
index c05034be0..fbfdd4123 100644
--- a/localized_js.php
+++ b/localized_js.php
@@ -1,4 +1,7 @@
<?php
+error_reporting(E_ERROR | E_WARNING | E_PARSE);
+define('DISABLE_SESSIONS', true);
+
require "functions.php";
header("Content-Type: text/plain; charset=UTF-8");