bug描述 使用命令行創(chuàng)建一個(gè)應(yīng)用插件php webman app-plugin:create cms 然后訪問(wèn):/app/cms/index或者訪問(wèn)/app/cms/index都是404 程序代碼或配置 目錄結(jié)構(gòu)都是自己生成的: ![]() 期待的結(jié)果及實(shí)際結(jié)果 期待:正常訪問(wèn) 實(shí)際結(jié)果:返回404 重現(xiàn)bug的步驟 這里寫步驟 系統(tǒng)環(huán)境及workerman/webman等具體版本 webman版本:1....
nginx反向代理webman 超過(guò)15M的文件就返回502報(bào)錯(cuò),查看nginx日志: sendfile() failed (32: Broken pipe) while sending request to upstream nginx的配置: sendfile on; sendfile_max_chunk 2m; client_body_buffer_size 1M; client_max_body_...
使用的illuminate/database這個(gè)庫(kù),文檔有點(diǎn)沒(méi)看懂: 文檔是這樣說(shuō)的: // 使用默認(rèn)數(shù)據(jù)庫(kù),等價(jià)于Db::connection('mysql')->select(...); $users = Db::select(...); // 使用mysql2 $users = Db::connection('mysql2')->select(...); // 使用pgsql $users = D...
場(chǎng)景是這樣的,比如: 一個(gè)視圖頁(yè)面由heder.html/content.html/footer.html組成,其中heder.html/footer.html是公共部分,每個(gè)頁(yè)面都要用。頁(yè)面里面怎么引入這個(gè)公共部分呢? 已經(jīng)參考:https://github.com/walkor/webman/issues/98#issuecomment-750863988 解決,打擾了。 ...