viacreative专题

laravel 安装viacreative/sudo-su出现的问题?

假设项目的域名为laravel.loc那么在config中就需要在  'allowed_tlds' => ['dev', 'local','loc'],添加后面的loc,否则就会有 ErrorException  (E_ERROR) No hint path defined for [sudosu].  的报错,如果运行的是localhost:8000,那么同样在allowe