php 8 compat: Fix unused key and empty path, for css
This commit is contained in:
@ -38,6 +38,9 @@ switch($css_mode) {
|
||||
|
||||
function serendipity_printStylesheet($file, $dir = '') {
|
||||
global $serendipity;
|
||||
if (empty($file)) {
|
||||
return '';
|
||||
}
|
||||
return "\n/* auto include $dir */\n\n" . str_replace(
|
||||
array(
|
||||
'{TEMPLATE_PATH}',
|
||||
|
Reference in New Issue
Block a user