Private
Public Access
1
0

composer update && rewrite user authentication page names

This commit is contained in:
2017-01-31 10:39:04 +01:00
parent 94ebe9a428
commit 8851a6d68b
9 changed files with 449 additions and 307 deletions

View File

@@ -780,7 +780,11 @@ class SymfonyRequirements extends RequirementCollection
{
$size = ini_get('realpath_cache_size');
$size = trim($size);
$unit = strtolower(substr($size, -1, 1));
$unit = '';
if (!ctype_digit($size)) {
$unit = strtolower(substr($size, -1, 1));
$size = (int) substr($size, 0, -1);
}
switch ($unit) {
case 'g':
return $size * 1024 * 1024 * 1024;