<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國際加速解決方案。 廣告
                [TOC] > [參考](http://www.hmoore.net/manual/thinkphp5/content) ## 安裝 ### git 安裝 ``` git clone --depth=1 https://github.com/top-think/think.git think_git cd think_git git clone --depth=1 https://github.com/top-think/framework.git thinkphp ``` ### composer 安裝 ``` composer create-project --prefer-dist topthink/think think_composer ``` ## 技巧 ### Apache 無法識別url >自帶.htaccess 無效 ``` `RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 修改為 RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]` ``` ### Nginx 無法識別url > [參考url](http://www.sou-xun.com/show/1395199.html) ``` location / { index index.html index.htm index.php; #autoindex on; # 加入此行代碼 if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; break; } } ``` ## 模板布局 layout 1. 開啟 layout ``` 'template' => [ 'layout_on' => true, 'layout_name' => 'layout', 'layout_item' => '{__CONTENT__}', ] ``` 2. view 的根目錄建立layout.html 文件,并寫入一下內容 ``` {include file="public/header" /} {__CONTENT__} {include file="public/footer" /} ``` 3. 在view 的其他目錄中只需要寫相關信息 不需要在用include 引入head頭和fllter
                  <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>

                              哎呀哎呀视频在线观看