/** * Copyright (C) [OECMS] All rights reserved. * * Url http://www.phpcoo.com * http://www.oephp.com * Update 2016.03.21 */ 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文g $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); } ?> 国产无码成人一二三区在线观看-国产大片在线观看黄不卡-国产美女毛片一区二区三区-99国产精品免费视频观看

    <rp id="vrjnf"><strike id="vrjnf"><output id="vrjnf"></output></strike></rp>

    <meter id="vrjnf"><strike id="vrjnf"><big id="vrjnf"></big></strike></meter>

    <b id="vrjnf"><ruby id="vrjnf"></ruby></b>

      <dfn id="vrjnf"></dfn><em id="vrjnf"><strike id="vrjnf"></strike></em>

      <sub id="vrjnf"><strike id="vrjnf"><form id="vrjnf"></form></strike></sub>
      <meter id="vrjnf"></meter>

      <meter id="vrjnf"><strike id="vrjnf"><big id="vrjnf"></big></strike></meter>