mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
fix regular expresssion to find Debian 6 "20-apc.ini" file
This commit is contained in:
parent
d60cb7c6d5
commit
1d2a450694
@ -862,7 +862,7 @@ function check_fix_php_apc_ini()
|
||||
phpinfo();
|
||||
$phpinfo = ob_get_clean();
|
||||
$matches = null;
|
||||
if (preg_match('#(/[a-z0-5./]+apcu?.ini)(,| |$)#mi', $phpinfo, $matches) &&
|
||||
if (preg_match('#(/[a-z0-5./-]+apcu?.ini)(,| |$)#mi', $phpinfo, $matches) &&
|
||||
file_exists($path = $matches[1]) && ($apc_ini = file_get_contents($path)))
|
||||
{
|
||||
$new_shm_size = 128 / $shm_segments;
|
||||
|
Loading…
Reference in New Issue
Block a user