summaryrefslogtreecommitdiffstats
path: root/apps/gallery
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-20 19:41:08 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-22 17:21:56 +0200
commit96ec7a66bb64e1e2ffa9b87e9473dceb9f45516c (patch)
tree94d9fa6b650b74a2fa3c5657113f6833bcaaac4e /apps/gallery
parent50667dcb82d8a31541ee13fe71c8da4074099ea8 (diff)
downloadnextcloud-server-96ec7a66bb64e1e2ffa9b87e9473dceb9f45516c.tar.gz
nextcloud-server-96ec7a66bb64e1e2ffa9b87e9473dceb9f45516c.zip
More session_write_close
Diffstat (limited to 'apps/gallery')
-rw-r--r--apps/gallery/ajax/thumbnail.php1
-rw-r--r--apps/gallery/templates/index.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/gallery/ajax/thumbnail.php b/apps/gallery/ajax/thumbnail.php
index 4fc9eba992d..5bf1d420dc4 100644
--- a/apps/gallery/ajax/thumbnail.php
+++ b/apps/gallery/ajax/thumbnail.php
@@ -23,6 +23,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('gallery');
+session_write_close();
require_once('apps/gallery/lib/managers.php');
diff --git a/apps/gallery/templates/index.php b/apps/gallery/templates/index.php
index 037e53059d1..c3b4a178545 100644
--- a/apps/gallery/templates/index.php
+++ b/apps/gallery/templates/index.php
@@ -26,6 +26,7 @@ $(document).ready(function() {
</div>
<div id="gallerycontent">
<?php
+session_write_close();
echo $_['tl']->get();