From c08e34dea3bef484f4922e358207d35ba6ea4be6 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 6 Oct 2014 10:45:23 +0000 Subject: bug 3078: avoid zlib issue on Ubuntu 14.04 (PHP 5.5) and maybe other systems git-svn-id: http://piwigo.org/svn/trunk@29904 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/common.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/common.inc.php') diff --git a/include/common.inc.php b/include/common.inc.php index d282da5a1..e3f4a16c7 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -72,8 +72,10 @@ $header_msgs = array(); $header_notes = array(); $filter = array(); -foreach( array( - ) as $func) +foreach( + array( + 'gzopen' + ) as $func) { if (!function_exists($func)) { -- cgit v1.2.3