mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #693, pclzip compatibility with PHP 7.1
This commit is contained in:
@@ -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