aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-08 21:28:36 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-08 21:28:36 +0200
commite12d58a75cf0fa32e935caa9e53cb2db953d8409 (patch)
treee7e0cdb4dc356e67e1a2982d99337a3940fc9d7c
parentf6cf992aee86e69d1ea5790c22d4af40c266d79e (diff)
downloadvolse-hubzilla-e12d58a75cf0fa32e935caa9e53cb2db953d8409.tar.gz
volse-hubzilla-e12d58a75cf0fa32e935caa9e53cb2db953d8409.tar.bz2
volse-hubzilla-e12d58a75cf0fa32e935caa9e53cb2db953d8409.zip
fix typo to make directory safe mode default to on work again
-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 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;