getURL(), true); } $id = $alias['id']; } if (!$id) { foreach (Website::getPage(1)->getItem("forwards")->getRows() as $row) { if (strtolower($row->getItem("string")->getValue()) == strtolower($_GET["forward"])) { $id = $row->getItem("page")->getValue()->id; } } } } catch (Exception $e) {} if (!$id) { throw new NoPageException("404"); } } Website::showPage($id); } catch (Exception $e) { Website::showError($e); exit; } toLog("Show page: " . $_SERVER["REQUEST_URI"] . " (" . round(benchmark("main", "show"), 2) . "s / " . benchmark('dbCount','show') . "q)", "II"); ?>