get("PAGE_TABLE",null)); if ($cms->dispatch()) { exit; } else { $parts = parse_url($_SERVER['REQUEST_URI']); $path = $parts['path']; $full = $cms->documentRoot . $path; if (is_dir($full)) { $fot = CMML_DOCUMENT_ROOT . "/403.html"; if (file_exists($fot)) { include($fot); } else { header("Status: 403 Forbidden"); echo "

Forbidden

"; } } else { $fof = CMML_DOCUMENT_ROOT . "/404.html"; if (file_exists($fof)) { include($fof); } else { header("Status: 404 Not Found"); echo "

Not Found

"; } } } ?>