X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/0ddf79607092e0aaaa69e46e3f2d4160117da495..1e6e0732eb889ea7f8ca17ba467bf2a9a2ff5cbd:/page.php diff --git a/page.php b/page.php index dae5081..0c101f8 100644 --- a/page.php +++ b/page.php @@ -69,7 +69,7 @@ if (isset($Page->raw)) { include_once 'format.inc.php'; ob_start(); -if ($Page->handler and !require("./{$Page->handler}/index.php")) { +if ($Page->handler and !$Page->index($Page->api)) { # replace contents by code output on false return $Page->raw = ob_get_clean(); }