<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ![](https://img.kancloud.cn/89/7a/897a2086ee7cd90836e999e2c5b8de50_968x414.jpeg) ## config目錄配置文件 ~~~ 1. config.php 2. database.php 3. router.php ~~~ #### 1.config.php >框架的最重要配置文件 ~~~ <?php /* * +---------------------------------------------------------------------- * | ZrWebPHP [ WE CAN DO IT JUST CUMIN ] * +---------------------------------------------------------------------- * | Copyright (c) 2020 http://zrv7.com All rights reserved. * +---------------------------------------------------------------------- * | Author: Cumin <2937978586@qq.com> * +---------------------------------------------------------------------- */ return [ # 系統框架 # 'app' => [ 'app_name' => 'Cumin導航系統', 'app_edition' => '3.2', 'debug' => true, 'xss' => true, 'code' => 'Content-type:text/html;charset=utf-8', 'time_zone' => 'PRC', 'app_text' => '非法請求,小傻逼!', 'template_path' => 'template', 'default_module' => 'index', #默認模塊名 'default_controller' => 'Index', #默認控制器名 'default_action' => 'index' #默認操作名 ], # 模板配置 # 'template' => [ 'default_template' => 'zrdao', #默認模板名 'view_path' => 'view', #視圖文件存放地址 'left_delimiter' => '{', #修改左右邊界符號 'right_delimiter' => '}', ], # 緩存配置 # 'cache' => [ 'cache_open' => false, #緩存開關 'cache_lifetime' => 60*60*24, #緩存有效時間 'cache_path' => RUNTIME_PATH . 'cache' .DS #緩存地址[localhost] ], # 路由配置 # 'router' => [ 'check_path' => true #路徑嚴格模式 ] ]; ~~~ #### 2. database.php > 數據庫信息配置文件 ~~~ <?php /* * +---------------------------------------------------------------------- * | ZrWebPHP [ WE CAN DO IT JUST CUMIN ] * +---------------------------------------------------------------------- * | Copyright (c) 2020 http://zrv7.com All rights reserved. * +---------------------------------------------------------------------- * | Author: Cumin <2937978586@qq.com> * +---------------------------------------------------------------------- */ /* [數據庫配置文件] */ return [ # 數據庫類型 # 'type' => 'mysql', # 數據庫服務器 # 'dbhost' => 'localhost', # 數據庫端口 # 'dbport' => 3306, # 數據庫用戶名 # 'dbuser' => '', # 數據庫密碼 # 'dbpwd' => '', # 數據庫名 # 'dbname' => '', # 數據庫前綴 # 'dbprefix' => 'zrdao_' ]; ~~~ #### 3. router.php > 路由規則配置文件 [以下是默認的是官網自帶的路由規則] ~~~ <?php /* * +---------------------------------------------------------------------- * | ZrWebPHP [ WE CAN DO IT JUST CUMIN ] * +---------------------------------------------------------------------- * | Copyright (c) 2020 http://zrv7.com All rights reserved. * +---------------------------------------------------------------------- * | Author: Cumin <2937978586@qq.com> * +---------------------------------------------------------------------- */ /* [路由配置文件] */ /* * mvc 模塊/控制器/操作的真實地址 * reg1是默認規則 [官方規范:通常默認是無偽靜態時使用] * reg2是第二種規則 [官方規范:有偽靜態時匹配規則] * 若mvc出現多次說明有多種偽靜態鏈接 * */ return [ [ 'mvc' => 'admin/index/index', 'reg1' => '/?admin(?:=)?([^/&]+)?(?:&([^/&]+))*', # /?admin=view&page=77 'reg2' => '/admin(?:/)?(?:([^/&]+))?(?:&([^/&]+))*' # /admin/view?id=1&name=ok ], [ 'mvc' => 'index/index/index', 'reg1' => '^/?([\?&#].*)', #/?各種符號文字 顯示首頁 ] ]; ~~~
                  <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>

                              哎呀哎呀视频在线观看