diff options
author | plegall <plg@piwigo.org> | 2014-10-06 10:45:23 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2014-10-06 10:45:23 +0000 |
commit | c08e34dea3bef484f4922e358207d35ba6ea4be6 (patch) | |
tree | ca1ba5dfb7b725a7e98224eb9e1e240657449f10 /include/php_compat | |
parent | c4017d2a8a55a7424f77067563246d9458f7e94e (diff) |
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
Diffstat (limited to 'include/php_compat')
-rw-r--r-- | include/php_compat/gzopen.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/php_compat/gzopen.php b/include/php_compat/gzopen.php new file mode 100644 index 000000000..4e9fe332d --- /dev/null +++ b/include/php_compat/gzopen.php @@ -0,0 +1,9 @@ +<?php +if (!function_exists('gzopen') && function_exists('gzopen64')) +{ + function gzopen(string $filename , string $mode, int $use_include_path = null) + { + return gzopen64($filename, $mode, $use_include_path); + } +} +?>
\ No newline at end of file |