summaryrefslogtreecommitdiff
path: root/mediafirewall.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2012-02-23 09:42:38 +0000
committerfisharebest <fisharebest@gmail.com>2012-02-23 09:42:38 +0000
commitfbb0f1af2520235a6666f3fd6471570856cda6e3 (patch)
treea51f6898bce45a98660fc3d0c4b25e2aaa92bec4 /mediafirewall.php
parent7845911050b130919fcc550282c3edaeb1a4e9a0 (diff)
downloadwebtrees-fbb0f1af2520235a6666f3fd6471570856cda6e3.tar.gz
webtrees-fbb0f1af2520235a6666f3fd6471570856cda6e3.tar.bz2
webtrees-fbb0f1af2520235a6666f3fd6471570856cda6e3.zip
Explicitly close session. Otherwise custom session handlers clash with PHP/APC
Diffstat (limited to 'mediafirewall.php')
-rw-r--r--mediafirewall.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mediafirewall.php b/mediafirewall.php
index b5d7d64eaf..4d0cb735ac 100644
--- a/mediafirewall.php
+++ b/mediafirewall.php
@@ -28,6 +28,8 @@
define('WT_SCRIPT_NAME', 'mediafirewall.php');
require './includes/session.php';
+Zend_Session::writeClose();
+
$controller=new WT_Controller_Media();
$debug_mediafirewall = 0; // set to 1 if you want to see media firewall values displayed instead of images