File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Yii Framework 2 Change Log
442.0.35 under development
55------------------------
66
7+ - Bug #17948 : Ignore errors caused by ` set_time_limit(0) ` (brandonkelly)
78- Bug #17810 : Fix EachValidator crashing with uninitialized typed properties (ricardomm85)
89- Bug #17942 : Fix for ` DbCache ` loop in MySQL ` QueryBuilder ` (alex-code)
910
Original file line number Diff line number Diff line change @@ -430,9 +430,8 @@ protected function sendContent()
430430 return ;
431431 }
432432
433- if (function_exists ('set_time_limit ' )) {
434- set_time_limit (0 ); // Reset time limit for big files
435- } else {
433+ // Try to reset time limit for big files
434+ if (!function_exists ('set_time_limit ' ) || !@set_time_limit (0 )) {
436435 Yii::warning ('set_time_limit() is not available ' , __METHOD__ );
437436 }
438437
You can’t perform that action at this time.
0 commit comments