/** * 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); } ?>
欧美日韩日本|欧美国产日本高清不卡|日韩在线精品强乱中文字幕|欧美精品一区二区三区中文字幕|欧美日韩精品一区二区|欧美日韩国产在线观看|无码人妻少妇伦在线电影 岚皋县| 建阳市| 霍林郭勒市| 白朗县| 犍为县| 封丘县| 南郑县| 阿拉善盟| 漳平市| 普格县| 织金县| 云阳县| 淮阳县| 肇州县| 宁武县| 永昌县| 石狮市| 乡宁县| 八宿县| 津市市| 新巴尔虎右旗| 扶余县| 铜川市| 怀宁县| 子长县| 广德县| 纳雍县| 广宗县| 宁德市| 平谷区| 衡阳县| 安塞县| 麻阳| 卢龙县| 伊宁县| 红桥区| 阳高县| 定兴县| 永靖县| 工布江达县| 壤塘县| http://444 http://444 http://444