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