aboutsummaryrefslogtreecommitdiffstats
path: root/include/dir_fns.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r--include/dir_fns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index 29c05fcaa..38c92dd94 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;