Skip to content

Commit

Permalink
Use set_time_limit function only if it's enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
escopecz committed Jan 2, 2017
1 parent 7d9ab1b commit a1d803c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/console
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ date_default_timezone_set('UTC');
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
//umask(0000);

set_time_limit(0);
if (function_exists('set_time_limit')) {
set_time_limit(0);
}

defined('IN_MAUTIC_CONSOLE') or define('IN_MAUTIC_CONSOLE', 1);

Expand Down

0 comments on commit a1d803c

Please sign in to comment.