summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorcolings <colings@example.com>2011-01-09 11:43:45 -0600
committercolings <colings@example.com>2011-01-09 11:43:45 -0600
commit02a349f68ac480d5b1a630e14b4f2e3558328673 (patch)
tree25bf25960b6811d8dbcbed6f6c9d63de7c03bd4e /index.php
parentc2a1ea64eda2bf3e22ecaf4df4714c091bc5d7c4 (diff)
parentde5b06ae7442db2c7a8999c0c806997248ddb151 (diff)
Merge remote branch 'upstream/master'
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");