X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/11c30da0ff491c29301ec1a42e7873d556364c74..e23ce7dc52392f928bf5879605da57e4bf7a7823:/page.php diff --git a/page.php b/page.php index dd629fd..175c2eb 100644 --- a/page.php +++ b/page.php @@ -10,7 +10,7 @@ function abort($body, $status = NULL) { function placeholder_include($name, $params = []) { - $path = "$name.php"; + $path = stream_resolve_include_path("$name.php"); if (!file_exists($path)) { return ''.$name.' ontbreekt'; }