mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Check for safe mode before setting time limit
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39899 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ea7761c536
commit
7780205ba9
@ -75,7 +75,9 @@ class DatabaseAdmin extends Controller {
|
||||
}
|
||||
|
||||
// The default time limit of 30 seconds is normally not enough
|
||||
set_time_limit(600);
|
||||
if(ini_get("safe_mode") != "1") {
|
||||
set_time_limit(600);
|
||||
}
|
||||
|
||||
$this->doBuild(isset($_REQUEST['quiet']) ||
|
||||
isset($_REQUEST['from_installer']));
|
||||
|
Loading…
Reference in New Issue
Block a user