From 96ec7a66bb64e1e2ffa9b87e9473dceb9f45516c Mon Sep 17 00:00:00 2001 From: Bart Visscher <bartv@thisnet.nl> Date: Wed, 20 Jun 2012 19:41:08 +0200 Subject: [PATCH] More session_write_close --- apps/contacts/thumbnail.php | 1 + apps/gallery/ajax/thumbnail.php | 1 + apps/gallery/templates/index.php | 1 + 3 files changed, 3 insertions(+) diff --git a/apps/contacts/thumbnail.php b/apps/contacts/thumbnail.php index da4e930f3e..8378507163 100644 --- a/apps/contacts/thumbnail.php +++ b/apps/contacts/thumbnail.php @@ -23,6 +23,7 @@ OCP\JSON::checkLoggedIn(); //OCP\User::checkLoggedIn(); OCP\App::checkAppEnabled('contacts'); +session_close_write(); function getStandardImage(){ //OCP\Response::setExpiresHeader('P10D'); diff --git a/apps/gallery/ajax/thumbnail.php b/apps/gallery/ajax/thumbnail.php index 4fc9eba992..5bf1d420dc 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 037e53059d..c3b4a17854 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(); -- GitLab