The branch, master has been updated via fbc2bbdc49865d8dc39f80e0ea70e5d26da39ec7 (commit) from ed66e5c66843eb77364e7ecb8ef2495791b8605f (commit)
- Log ----------------------------------------------------------------- commit fbc2bbdc49865d8dc39f80e0ea70e5d26da39ec7 Author: Michal Čihař mcihar@suse.cz Date: Wed Jul 20 15:04:52 2011 +0200
Unlock session while serving JS messages
-----------------------------------------------------------------------
Summary of changes: js/messages.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/js/messages.php b/js/messages.php index 2ab89dd..1345a8e 100644 --- a/js/messages.php +++ b/js/messages.php @@ -19,6 +19,8 @@ header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT'); // non-js-compatible stuff like DOCTYPE define('PMA_MINIMUM_COMMON', true); require_once './libraries/common.inc.php'; +// Close session early as we won't write anything there +session_write_close(); // But this one is needed for PMA_escapeJsString() require_once './libraries/js_escape.lib.php';
hooks/post-receive