diff --git a/admin/xmldb/actions/check_bigints/check_bigints.class.php b/admin/xmldb/actions/check_bigints/check_bigints.class.php index eb9f8a0e4f1..98fbf2a276e 100644 --- a/admin/xmldb/actions/check_bigints/check_bigints.class.php +++ b/admin/xmldb/actions/check_bigints/check_bigints.class.php @@ -208,6 +208,10 @@ class check_bigints extends XMLDBAction { $o.=' '; } $o.=' '; + /// Give the script some more time (resetting to current if exists) + if ($currenttl = @ini_get('max_execution_time')) { + @ini_set('max_execution_time',$currenttl); + } } $o.=' '; } diff --git a/admin/xmldb/actions/check_indexes/check_indexes.class.php b/admin/xmldb/actions/check_indexes/check_indexes.class.php index e5989e6839c..59a7b9cc097 100644 --- a/admin/xmldb/actions/check_indexes/check_indexes.class.php +++ b/admin/xmldb/actions/check_indexes/check_indexes.class.php @@ -213,6 +213,10 @@ class check_indexes extends XMLDBAction { $o.=' '; } $o.=' '; + /// Give the script some more time (resetting to current if exists) + if ($currenttl = @ini_get('max_execution_time')) { + @ini_set('max_execution_time',$currenttl); + } } $o.=' '; }