From 43da1635b12567a466239c707243c15280c691de Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Mon, 29 Dec 2003 11:25:02 +0000
Subject: [PATCH] - Fixed bug #4842: get_cfg_var() -> ini_get()

---
 cron.php   | 2 +-
 update.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cron.php b/cron.php
index d7e17082017f..f7c9d6adb79b 100644
--- a/cron.php
+++ b/cron.php
@@ -8,7 +8,7 @@
 ** 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 a753f7b66969..c6078e65f5e4 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);
 }
 
-- 
GitLab