summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cron.php2
-rw-r--r--update.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/cron.php b/cron.php
index d7e170820..f7c9d6adb 100644
--- a/cron.php
+++ b/cron.php
@@ -8,7 +8,7 @@ include_once "includes/common.inc";
** If not in 'safe mode', increase the maximum execution time:
*/
-if (!get_cfg_var("safe_mode")) {
+if (!ini_get("safe_mode")) {
set_time_limit(240);
}
diff --git a/update.php b/update.php
index a753f7b66..c6078e65f 100644
--- a/update.php
+++ b/update.php
@@ -15,7 +15,7 @@
// Disable access checking?
$access_check = 1;
-if (!get_cfg_var("safe_mode")) {
+if (!ini_get("safe_mode")) {
set_time_limit(180);
}