do NOT log not found template because of missing $row_cont expansion on server-side

This commit is contained in:
ralf 2022-04-28 10:38:41 +02:00
parent 278f75546a
commit a32bb2abde

View File

@ -101,8 +101,11 @@ class Template extends Etemplate\Widget
return $template; return $template;
} }
} }
// do NOT log not found template because of missing $row_cont expansion on server-side
error_log(__METHOD__."('$name', '$template_set', '$version', '$load_via') template NOT found!"); if (substr($name, 0, 10) !== '$row_cont[')
{
error_log(__METHOD__."('$name', '$template_set', '$version', '$load_via') template NOT found!");
}
return false; return false;
} }
$reader = new XMLReader(); $reader = new XMLReader();