Permalink
Browse files

Changed max_execution_time to 3000.

Call to backup_required_functions included.
  • Loading branch information...
1 parent fe3c84a commit ac6a7b144dc880c56cd811dbf32db141740c1f42 stronk7 committed Jun 12, 2003
Showing with 8 additions and 2 deletions.
  1. +4 −1 backup/backup.php
  2. +4 −1 backup/restore.php
View
@@ -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
View
@@ -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

0 comments on commit ac6a7b1

Please sign in to comment.