<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 功能強大 支持多語言、二開方便! 廣告
                #### 入口文件 index.php ~~~ namespace think; // 定義應用目錄 define('APP_PATH', __DIR__ . '/../Applic/'); // 定義Thinkphp框架目錄 define('THINKPHP_PATH','Thinkphp/'); // 加載基礎文件 require __DIR__ . '/../'.THINKPHP_PATH.'/base.php'; // 執行應用并響應 Container::get('app')->path(APP_PATH)->run()->send(); ~~~ #### 修改 Thinkphp\library\think\Loader.php 第83行:將`vendor`目錄移到`Thinkphp`下 ~~~ self::$composerPath = $rootPath . 'Thinkphp/vendor' . DIRECTORY_SEPARATOR . 'composer' . DIRECTORY_SEPARATOR; ~~~ 第115行:將`extend`目錄移到`Thinkphp`下 ~~~ self::addAutoLoadDir($rootPath . 'Thinkphp/extend'); ~~~ #### 修改 Thinkphp\library\think\App.php 第132行 1.將`runtime`目錄改為首字母大寫 `Runtime` 2.將`route`目錄移到`Thinkphp`下 3.將`config`目錄改為首字母大寫 `Config` ~~~ $this->runtimePath = $this->rootPath . 'Runtime' . DIRECTORY_SEPARATOR; $this->routePath = $this->rootPath . 'Thinkphp/route' . DIRECTORY_SEPARATOR; $this->configPath = $this->rootPath . 'Config' . DIRECTORY_SEPARATOR; ~~~ #### 最終項目的結構如下: ~~~ www WEB部署目錄(或者子目錄) ├─Applic 應用目錄 ├─Config 應用配置目錄 ├─Public WEB目錄(對外訪問目錄) │ └─index.php 入口文件 ├─Runtime 應用的運行時目錄(可寫,可定制) ├─Thinkphp 框架系統目錄 │ ├─extend 擴展類庫目錄 │ ├─lang 語言文件目錄 │ ├─library 框架類庫目錄 │ ├─route 路由定義目錄 │ ├─tpl 系統模板目錄 │ └─vendor 第三方類庫目錄(Composer依賴庫)
                  <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>

                              哎呀哎呀视频在线观看