它说:
* - baseUrl - To configure CakePHP to *not* use mod_rewrite and to
* use CakePHP pretty URLs, remove these .htaccess
* files:
* /.htaccess
* /webroot/.htaccess
* And uncomment the baseUrl key below.
但是当我取消注释时//'baseUrl' => env('SCRIPT_NAME'),
我收到控制器错误。
答案 0 :(得分:0)
请创建htaccess文件并在下面写下代码
true