Example #1
0
 static function run()
 {
     $url = route_without_rewrite();
     if (empty($url[1])) {
         header('location:/?/index');
         break;
     }
     require_once 'pages.php';
     Page::LoadContent($url[1] . ".phtml");
 }