<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ```php class core { private $uri; private $controller = 'Index'; private $action = 'index'; public function __construct() { $this->uri = $_SERVER['PHP_SELF']; $urlField = explode('/', $this->uri); $this->controller = (isset($urlField[2])?$urlField[2]:'Index'); $this->action = (isset($urlField[3])?$urlField[3]:'index'); $this->params = $_GET; } public function getController() { return ucfirst($this->controller); } public function getAction() { return ucfirst($this->action); } } $core = new core(); try { $controllerName = $core->getController(); $controllerPath = sprintf('./app/controller/%s.php', $controllerName); if (!file_exists($controllerPath)) throw new Exception('找不到控制器', 1); require_once $controllerPath; if (!class_exists($core->getController())) throw new Exception('找不到控制器', 1); $controller = new $controllerName; if (!method_exists($controller, $core->getAction())) throw new Exception('方法不存在', 1); echo call_user_func_array(array($controller, $core->getAction()), $_GET); } catch (Exception $e) { echo $e->getMessage(); } ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看