File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/Symfony/Component/HttpKernel Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -102,20 +102,22 @@ public function __clone()
102
102
*/
103
103
public function boot ()
104
104
{
105
- if ($ this ->debug ) {
106
- $ this ->startTime = microtime (true );
107
- }
108
-
109
105
if (true === $ this ->booted ) {
110
106
if (!$ this ->requestStackSize && $ this ->resetServices ) {
111
107
if ($ this ->container ->has ('services_resetter ' )) {
112
108
$ this ->container ->get ('services_resetter ' )->reset ();
113
109
}
114
110
$ this ->resetServices = false ;
111
+ if ($ this ->debug ) {
112
+ $ this ->startTime = microtime (true );
113
+ }
115
114
}
116
115
117
116
return ;
118
117
}
118
+ if ($ this ->debug ) {
119
+ $ this ->startTime = microtime (true );
120
+ }
119
121
if ($ this ->debug && !isset ($ _ENV ['SHELL_VERBOSITY ' ]) && !isset ($ _SERVER ['SHELL_VERBOSITY ' ])) {
120
122
putenv ('SHELL_VERBOSITY=3 ' );
121
123
$ _ENV ['SHELL_VERBOSITY ' ] = 3 ;
You can’t perform that action at this time.
0 commit comments