From 4f30cc6eb7a2935ff444380cc173350d885f17e4 Mon Sep 17 00:00:00 2001 From: printempw Date: Fri, 16 Dec 2016 22:54:12 +0800 Subject: [PATCH] use error control operater when invoking set_time_limit() --- app/Services/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Utils.php b/app/Services/Utils.php index 530ca45b..0a08f813 100644 --- a/app/Services/Utils.php +++ b/app/Services/Utils.php @@ -45,7 +45,7 @@ class Utils public static function download($url, $path) { - set_time_limit(0); + @set_time_limit(0); touch($path);