File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 21
21
(new Dotenv ())->load (__DIR__ .'/../.env ' );
22
22
}
23
23
24
- if ($ _SERVER ['APP_DEBUG ' ] ?? true ) {
24
+ if ($ _SERVER ['APP_DEBUG ' ] ?? false ) {
25
25
// WARNING: You should setup permissions the proper way!
26
26
// REMOVE the following PHP line and read
27
27
// https://symfony.com/doc/current/book/installation.html#checking-symfony-application-configuration-and-setup
32
32
33
33
// Request::setTrustedProxies(['0.0.0.0/0'], Request::HEADER_FORWARDED);
34
34
35
- $ kernel = new Kernel ($ _SERVER ['APP_ENV ' ] ?? 'dev ' , $ _SERVER ['APP_DEBUG ' ] ?? true );
35
+ $ kernel = new Kernel ($ _SERVER ['APP_ENV ' ] ?? 'dev ' , $ _SERVER ['APP_DEBUG ' ] ?? false );
36
36
$ request = Request::createFromGlobals ();
37
37
$ response = $ kernel ->handle ($ request );
38
38
$ response ->send ();
You can’t perform that action at this time.
0 commit comments