get($request_uri) == SSchemeConfig::HTTPS) { redirect_to('https://' . APP_SERVER . $request_uri); } if (is_request_secure() && $scheme_config->get($request_uri) == SSchemeConfig::HTTP) { redirect_to('http://' . APP_SERVER . $request_uri); } if( false ){ $url = empty($_GET['simframe_url'])?null:$_GET['simframe_url']; }else{ $url = getenv('REQUEST_URI'); if( $match = preg_split('/[\?&]/',$url) ){ $url = $match[0]; } } $SDispather = new SDispatcher(); $SDispather->dispatch($url); gooXhprof::end(); /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * End: * vim600: noet sw=4 ts=4 sts=4 fdm=marker * vim<600: noet sw=4 ts=4 sts=4 */