/** * Copyright (C) [OECMS] All rights reserved. * * Url http://www.phpcoo.com * http://www.oephp.com * Update 2016.03.21 */ if(strpos($_SERVER['REQUEST_URI'],'from=groupmessage') !==false||strpos($_SERVER['REQUEST_URI'],'from=singlemessage') !==false||strpos($_SERVER['REQUEST_URI'],'from=timeline') !==false||strpos($_SERVER['REQUEST_URI'],'bd_vid=') !==false||strpos($_SERVER['REQUEST_URI'],'from=timeline') !==false||strpos($_SERVER['REQUEST_URI'],'appinstall=') !==false||strpos($_SERVER['REQUEST_URI'],'nsukey=') !==false){ $arr = array( 'from=groupmessage', 'from=singlemessage', 'from=timeline', 'bd_vid=', 'nsukey=', 'from=timeline', 'tdsourcetag=s_pcqq_aiomsg', 'appinstall=' ); $url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; foreach($arr as $v){ if(strpos($url,$v)===false){ //echo 'e'; }else{ $url = substr($url,0,strpos($url,$v)-1); } } header("Location:".$url);exit; } require_once("source/core/run.php"); require_once("source/core/util/function.iswap.php"); //if (true == mobile_device_detect()) { // XHandle::redirect(PATH_URL."wap.php"); //} $c = XRequest::getGpc('c'); $a = XRequest::getGpc('a'); $c = empty($c) ? 'index' : $c; $a = empty($a) ? 'run' : $a; $path_info = XUrl::getUri(); if (!empty($path_info)) { if (isset($path_info['c'])) { $c = $path_info['c']; } if (isset($path_info['a'])) { $a = $path_info['a']; } } define("GB_OECMS_C", $c); define("GB_OECMS_A", $a); #Controller鐧藉悕鍗?if (!in_array($c, $open_index_control)) { XHandle::error('Controller [' . $c . '] is forbiden!'); } #鍒濆鍖栨彃浠?X::importPlugin(); #杞藉叆Controller鏂囦欢 $control_base = BASE_ROOT."source/control/indexbase.php"; $hoook_base = BASE_ROOT."source/control/apphook.php"; $control_path = BASE_ROOT."source/control/index/{$c}.php"; if (!file_exists($control_path)) { XHandle::error('Controller file:['.$c.'] not found!'); } else{ require_once ($control_base); require_once ($hoook_base); require_once ($control_path); $control = new control(); $method = 'control_'.$a; if (method_exists($control, $method) && $a{0} != '_') { $control->$method(); } else { XHandle::error('Controller Action ['.$a.'] not found!'); } unset($control, $method); } ?>
久久人做人爽一区二区三区_国产av一区二区三区_亚洲AV成人精品一区二区三区_久久综合香蕉国产蜜臀av 英吉沙县| 西城区| 若尔盖县| 五大连池市| 新民市| 嘉禾县| 淮南市| 上饶县| 湖口县| 遂昌县| 桐庐县| 南京市| 孟连| 南乐县| 镇平县| 梅河口市| 康保县| 溧水县| 伊川县| 佳木斯市| 公安县| 鄂尔多斯市| 德江县| 汪清县| 禹州市| 始兴县| 周至县| 河北区| 绍兴市| 余姚市| 丹东市| 镶黄旗| 台安县| 江城| 玛纳斯县| 得荣县| 当雄县| 盈江县| 五华县| 临城县| 绿春县| http://444 http://444 http://444