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

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                經常有很多童鞋希望yzncms自定義后臺路徑,不想使用/admin作為后臺路徑, 但是由于thinkphp5.1不支持路由映射,因為此方法需要修改核心文件。 總共需要修改兩處: ***** 1:thinkphp/library/think/route/dispatch/Module.php大約31行增加代碼 ``` if ($result[0] == 'admin') { throw new HttpException(404, 'module not exists:admin'); } if ($result[0] == 'aa') { $result[0] = 'admin'; } ``` ![](https://img.kancloud.cn/84/de/84de4761772dcf4cc49d062432ab6441_649x240.jpg) ***** 2:thinkphp/library/think/Url.php大約275行增加代碼 ``` if ($module == 'admin/') { $module = 'aa/'; } ``` ![](https://img.kancloud.cn/00/22/002221e70d4b222327dd3f0cf42dbee5_426x203.jpg) ***** 3:如果你的YznCMS版本是1.3.0+,則還需要修改application\admin\common.php.php新增代碼 ``` Route::alias('aa', '/admin'); ``` ![![](https://img.kancloud.cn/08/cb/08cb537ee05064d2d4d126bb55a7b2c0_358x122.png)](images/screenshot_1702018502067.png) 或者 直接修改application\\admin\\service\\User.php大約340行代碼 ~~~ $module = 'aa'; ~~~ ![](http://www.hmoore.net/book/ken678/yzncms/7b23738e64ddc964f4e1d7bced22b4502d568ac2/preview/images/screenshot_1702017535690.png) > 然后我們域名/admin將無法訪問,只能使用域名/aa訪問,其中將aa改成其他隨機字符,更加安全
                  <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>

                              哎呀哎呀视频在线观看