Supress errors on set_time_limit() for servers with safe mode restrictions

This commit is contained in:
moodler
2004-05-18 14:12:21 +00:00
parent d5f286f1aa
commit a71bfa1c78
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -126,7 +126,7 @@
if (!isset($CFG->disablescheduledbackups)) { // Defined in config.php
//Execute backup's cron
//Perhaps a long time and memory could help in large sites
set_time_limit(0);
@set_time_limit(0);
ini_set("memory_limit","56M");
if (file_exists("$CFG->dirroot/backup/backup_scheduled.php") and
file_exists("$CFG->dirroot/backup/backuplib.php") and