mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-09 23:12:31 +01:00
fixes #693, pclzip compatibility with PHP 7.1
This commit is contained in:
1 parent
4310fe7a55
commit
4581f3e2ba
1 file changed
+1
@@ -1836,6 +1836,7 @@
|
||||
$v_memory_limit = ini_get('memory_limit');
|
||||
$v_memory_limit = trim($v_memory_limit);
|
||||
$last = strtolower(substr($v_memory_limit, -1));
|
||||
$v_memory_limit = intval($v_memory_limit);
|
||||
|
||||
if($last == 'g')
|
||||
//$v_memory_limit = $v_memory_limit*1024*1024*1024;
|
||||
|
||||
Reference in new issue
Block a user