diff options
| author | 2013-12-01 11:55:27 +0100 | |
|---|---|---|
| committer | 2013-12-01 11:55:27 +0100 | |
| commit | 7cfd6c84cc89979799e9ff4b38f0ba92e568c8f6 (patch) | |
| tree | d1704eebb63eab750bb5c1e23a0e8a560605c980 /app/controllers/feedController.php | |
| parent | c7f165429a8b7fa00ac69233fb95fc397a08eaa7 (diff) | |
PHP set_time_limit
Ajout de quelques set_time_limit pour
https://github.com/marienfressinaud/FreshRSS/issues/228
Diffstat (limited to 'app/controllers/feedController.php')
| -rwxr-xr-x | app/controllers/feedController.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/feedController.php b/app/controllers/feedController.php index fa3f0712f..d810296b0 100755 --- a/app/controllers/feedController.php +++ b/app/controllers/feedController.php @@ -30,6 +30,8 @@ class feedController extends ActionController { } public function addAction () { + @set_time_limit(300); + if (Request::isPost ()) { $url = Request::param ('url_rss'); $cat = Request::param ('category', false); @@ -152,6 +154,8 @@ class feedController extends ActionController { } public function actualizeAction () { + @set_time_limit(300); + $feedDAO = new FeedDAO (); $entryDAO = new EntryDAO (); @@ -273,6 +277,8 @@ class feedController extends ActionController { } public function massiveImportAction () { + @set_time_limit(300); + $entryDAO = new EntryDAO (); $feedDAO = new FeedDAO (); |
