GetController($_SERVER['REQUEST_URI']); if (!empty($num2)){ $num1->Redirect(substr($_SERVER['REQUEST_URI'], strlen(ROOT))); $num3 = $num1->GetPages(); switch ($num2){ case 'rss': $num4 = new Rss(); break; case $num3[array_search($num2, $num3)]: $num4 = new Custom(); break; case $num2: $num4 = new Result(); break; } $num4->Request(); } else { $num4 = new Home(); $num4->Request(); } $time = microtime(true) - $start; printf('', $time); ?>