uri->Uri !== false ): $dir = $RTR->classDir ? $RTR->classDir . '/' : false; $file = $RTR->classFileName; $class = $RTR->className; $method = $RTR->methodName; $parameters = $RTR->methodParameters; if ( !file_exists(BASE . '/nav/' . $dir . $file)) { exit('URL ERROR!'); } require_once BASE . '/nav/' . $dir . $file; $UF = new $class(); try { if ( method_exists(&$UF, $method.'Action') ) { $method = $method.'Action'; } call_user_func_array(array(&$UF, $method), $parameters); } catch(Exception $error) { _log('Function not found!'); } endif; //echo microtime(true) - $start; ?>