summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
11c30da)
Support common files to be found without site symlinks.
function placeholder_include($name, $params = [])
{
function placeholder_include($name, $params = [])
{
+ $path = stream_resolve_include_path("$name.php");
if (!file_exists($path)) {
return '<strong class="warn"><em>'.$name.'</em> ontbreekt</strong>';
}
if (!file_exists($path)) {
return '<strong class="warn"><em>'.$name.'</em> ontbreekt</strong>';
}