max_execution_time and memory_limit to allow backup of large installations.

(I've executed it with 50 courses)
This commit is contained in:
stronk7
2003-12-15 00:56:12 +00:00
parent d997d2d44e
commit 9bc586e097
+2 -2
View File
@@ -101,8 +101,8 @@
//Execute backup's cron
//Perhaps a long time and memory could help in large sites
//ini_set("max_execution_time","3000");
//ini_set("memory_limit","56M");
ini_set("max_execution_time","3000");
ini_set("memory_limit","56M");
if (file_exists("$CFG->dirroot/backup/backup_scheduled.php") and
file_exists("$CFG->dirroot/backup/backuplib.php") and
file_exists("$CFG->dirroot/backup/lib.php")) {