From e12d58a75cf0fa32e935caa9e53cb2db953d8409 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 8 Jul 2015 21:28:36 +0200 Subject: fix typo to make directory safe mode default to on work again --- include/dir_fns.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dir_fns.php') diff --git a/include/dir_fns.php b/include/dir_fns.php index be8175d06..83073154a 100644 --- a/include/dir_fns.php +++ b/include/dir_fns.php @@ -82,7 +82,7 @@ function get_directory_setting($observer, $setting) { if($ret === false) $ret = get_config('directory', $setting); - if($setting == 'safe_mode' && $ret === false) + if($setting == 'safemode' && $ret === false) $ret = 1; return $ret; -- cgit v1.2.3