<?php include "../../php/dok.php"; $conf = array("baseurl" => "/autoupdate", "basename" => "Autoupdate", "pages" => "pages/autoupdate", "vars" => array("active" => "Home")); $request = isset($_GET['__route__']) ? $_GET['__route__'] : ""; dok($conf, $request);
<?php include "../../php/dok.php"; $request = isset($_GET['__route__']) ? "/" . $_GET['__route__'] : "/"; $conf = array("baseurl" => "/beta", "basename" => "Beta", "pages" => "pages/beta", "vars" => array("active" => "Docs")); dok($conf, $_GET["__route__"]);