]> git.mjollnir.org Git - moodle.git/commitdiff
Changed max_execution_time to 3000.
authorstronk7 <stronk7>
Thu, 12 Jun 2003 15:35:37 +0000 (15:35 +0000)
committerstronk7 <stronk7>
Thu, 12 Jun 2003 15:35:37 +0000 (15:35 +0000)
Call to backup_required_functions included.

backup/backup.php
backup/restore.php

index 7fae70390cfa7a64397e72723c7a0f9d69217741..663561107ca5675c13973fc7fe16760c7b6bb8b5 100644 (file)
@@ -34,6 +34,9 @@
     if (!$site = get_site()) {
         error("Site not found!");
     }
+
+    //Check necessary functions exists. Thanks to gregb@crowncollege.edu
+    backup_required_functions();
     
     //Check backup_version
     upgrade_backup_db($backup_version,$backup_release,"backup.php");
@@ -76,7 +79,7 @@
     print_simple_box_start("center", "", "$THEME->cellheading");
 
     //Adjust some php variables to the execution of this script
-    ini_set("max_execution_time","300");
+    ini_set("max_execution_time","3000");
     ini_set("memory_limit","56M");
 
     //Call the form, depending the step we are
index 274bcc608fb0e2ad81538a01a11df7cc7cb9361f..b839d5dbd37b74c3872ff065d67938ec6e71e9bb 100644 (file)
@@ -36,6 +36,9 @@
     if (!$site = get_site()) {
         error("Site not found!");
     }
+
+    //Check necessary functions exists. Thanks to gregb@crowncollege.edu
+    backup_required_functions();
     
     //Check backup_version
     if ($file) {
@@ -79,7 +82,7 @@
     print_simple_box_start("center", "", "$THEME->cellheading");
     
     //Adjust some php variables to the execution of this script
-    ini_set("max_execution_time","300");
+    ini_set("max_execution_time","3000");
     ini_set("memory_limit","56M");
 
     //Call the form, depending the step we are