summaryrefslogtreecommitdiff
path: root/install-utils.inc
diff options
context:
space:
mode:
Diffstat (limited to 'install-utils.inc')
-rw-r--r--install-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/install-utils.inc b/install-utils.inc
index a9892578..5b632d20 100644
--- a/install-utils.inc
+++ b/install-utils.inc
@@ -135,6 +135,6 @@ function mw_get_session_save_path() {
function mw_have_dl() {
return function_exists( 'dl' )
&& is_callable( 'dl' )
- && ini_get( 'enable_dl' )
- && !ini_get( 'safe_mode' );
+ && wfIniGetBool( 'enable_dl' )
+ && !wfIniGetBool( 'safe_mode' );
} \ No newline at end of file