I have made a small application in laravel framework. bUT I want to host this app to my machine but in production environment so that nobody sees the errors page thrown by laravel framework. Please Note that I am not hosting it to any domain. It will be hosted on my system and will be accessed by others users locally.

有帮助吗?

解决方案

edit the file app/config/app.php and set 'debug' => false

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top