【laravel框架】compile.php文件的生成方法

WBOY
Release: 2016-06-23 13:18:20
Original
759 people have browsed it

方法一:将项目app/config/app.php或者app/config/环境目录/app.php,中的'debug'设置成false,之后再执行php artisan optimize命令,即可在项目的bootstrap目录下看compile.php文件



方法二:直接执行 php artisan optimize --force命令,即可在项目bootstrap目录中看到compile.php文件



source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template