Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-335 Now memory_limit can be overriden by higher config settings from php.ini, commandline, httpd.conf, .htaccess

This commit is contained in:
martinlanghoff
2004-11-18 02:55:06 +00:00
parent 0c3e818cb1
commit bce7197321
6 changed files with 57 additions and 5 deletions
+1 -1
View File
@@ -144,7 +144,7 @@
//Execute backup's cron
//Perhaps a long time and memory could help in large sites
@set_time_limit(0);
@ini_set("memory_limit","128M");
raise_memory_limit("128M");
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") and