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 2d4980f080
commit 0efb94f2bf

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
if (substr($name, 0, 10) !== '$row_cont[')
{
error_log(__METHOD__."('$name', '$template_set', '$version', '$load_via') template NOT found!"); error_log(__METHOD__."('$name', '$template_set', '$version', '$load_via') template NOT found!");
}
return false; return false;
} }
$reader = new XMLReader(); $reader = new XMLReader();