- if (file_exists("$Page/index.php")) {
- break;
- }
-
- $up = strrpos($Page, '/');
- $Args = substr($Page, $up) . $Args;
- $Page = substr($Page, 0, $up);
- if ($up === FALSE) {
- break;
- }
-}
-
-$staticpage = NULL;
-if (file_exists("$Page$Args.html")) {
- $staticpage = "$Page$Args.html";