1.渲染模板出现No input file specified.
解决:在public下有个.htaccess文件将
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]改为
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
2.出现
页面错误!请稍后再试~
请先在config.php将调试模式改为true;3. 是因为拼路径那少加个index。
1.渲染模板出现No input file specified.
解决:在public下有个.htaccess文件将
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]改为
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
3. 是因为拼路径那少加个index。