mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
PHP8 Warning removal.
This commit is contained in:
@@ -4719,7 +4719,7 @@ class e_parser
|
||||
}
|
||||
|
||||
}
|
||||
elseif($file[0] === '{') // Legacy v1.x path. Example: {e_PLUGIN}myplugin/images/fixedimage.png
|
||||
elseif(!empty($file) && $file[0] === '{') // Legacy v1.x path. Example: {e_PLUGIN}myplugin/images/fixedimage.png
|
||||
{
|
||||
$path = $tp->replaceConstants($file,'abs');
|
||||
}
|
||||
|
Reference in New Issue
Block a user