File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,10 @@ public function reloadClasses($force = false)
129129 self ::$ freshCache = false ;
130130 if ($ force )
131131 {
132- unlink ($ configuration ->getConfigCache ()->getCacheName ('config/autoload.yml ' ));
132+ if (file_exists ($ configuration ->getConfigCache ()->getCacheName ('config/autoload.yml ' )))
133+ {
134+ unlink ($ configuration ->getConfigCache ()->getCacheName ('config/autoload.yml ' ));
135+ }
133136 }
134137 }
135138
Original file line number Diff line number Diff line change @@ -557,7 +557,11 @@ protected function strlen($string)
557557 protected function fixCgi ()
558558 {
559559 // handle output buffering
560- @ob_end_flush ();
560+ if (ob_get_level () > 0 )
561+ {
562+ @ob_end_flush ();
563+ }
564+
561565 ob_implicit_flush (true );
562566
563567 // PHP ini settings
You can’t perform that action at this time.
0 commit comments