<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國際加速解決方案。 廣告
                # 自定義路由 > phpGrace 追求極致的效率,我們并不認同在url的基礎上繼續進行復雜的正則匹配是一種高效的、明智的選擇!方便的調用規則比不上輕快的效率!所以我們并不建議您使用復雜的路由規則!盡管如此為了滿足開發者的需求和習慣我們還是開放了簡單路由! ## **在入口頁開啟路由配置** ~~~ <?php define('PG_ROUTE',?true);//在框架核心文件引用前定義 include?'phpGrace/phpGrace.php'; ~~~ ## **在分組目錄內找到 router.php 編寫路由規則** ~~~ 如: return?array( ????'about'?=>?array('index',?'about',?array(120,?'grace')), ????'other'?=>?array('index',?'other') ); ~~~ 路由: 'about' => array('index', 'about', array(120, 'grace')) 代表:/about 會訪問 index 控制器內的 about 方法 并攜帶 參數 120和 grace (保存在 $this->gets) 。 路由: 'other' => array('index', 'other') 代表:/other 會訪問 index 控制器內的 other 方法。
                  <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>

                              哎呀哎呀视频在线观看