summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-01-08 16:58:04 -0800
committerBharat Mediratta <bharat@menalto.com>2011-01-08 16:58:40 -0800
commit7d07190af1bda3ae1ec0e899a9997c659532ed29 (patch)
tree6f7ed3115a0499a29aa19bec2a7ffb17527777e3 /index.php
parente1e1e860cd1b19ebef491f0c0f82a3cd18e63721 (diff)
Turn off session.use_trans_sid -- that feature attempts to inject session ids
into generated URLs and forms, but it doesn't interoperate will with Gallery's Ajax code.
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.php b/index.php
index 68000ef8..8115ac13 100644
--- a/index.php
+++ b/index.php
@@ -35,6 +35,11 @@ error_reporting(0);
// and logging. You can turn off Kohana errors in application/config/config.php
ini_set("display_errors", false);
+// Turn off session.use_trans_sid -- that feature attempts to inject session ids
+// into generated URLs and forms, but it doesn't interoperate will with Gallery's
+// Ajax code.
+ini_set("session.use_trans_sid", false);
+
define("EXT", ".php");
define("DOCROOT", getcwd() . "/");
define("KOHANA", "index.php");