Fatal error: Array and string offset access syntax with curly braces is no longer supported in /customers/c/d/0/laage.se/httpd.www/plugins/system/gantry/functions.php on line 44
function gantry_parsePathComponents($path, $endSlash = true, $base = false)
{
for ($path = trim($path), $slash = strstr(PHP_OS, 'WIN') ? '\/' : '/', $retArray = array(), $str = $temp = "", $x = 0; $char = @$path{$x}; $x++) {
if (!strstr($slash, $char)) $temp .= $char; elseif ($temp) {
$str .= $temp;
$retArray[$temp] = $str . ($endSlash ? $slash{0} : '');
$str .= $slash{0};
$temp = "";
}
}
$base && $temp and $retArray[$temp] = $str . $temp;
FatalError
|
---|
Symfony\Component\ErrorHandler\Error\FatalError: Compile Error: Array and string offset access syntax with curly braces is no longer supported at /customers/c/d/0/laage.se/httpd.www/plugins/system/gantry/functions.php:44 |