aboutsummaryrefslogtreecommitdiffstats
path: root/include/dir_fns.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-24 01:25:13 -0700
committerredmatrix <git@macgirvin.com>2016-05-24 01:25:13 -0700
commit29ba8918093166ac32ef9a727a9b71ba8e01a402 (patch)
tree16587e74673c7d696f21715db7ede06ca6a332b4 /include/dir_fns.php
parent25357b208a98cb91dc0b0ed4966b00f2364a8809 (diff)
downloadvolse-hubzilla-29ba8918093166ac32ef9a727a9b71ba8e01a402.tar.gz
volse-hubzilla-29ba8918093166ac32ef9a727a9b71ba8e01a402.tar.bz2
volse-hubzilla-29ba8918093166ac32ef9a727a9b71ba8e01a402.zip
moved enotify
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r--include/dir_fns.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index 4e300663c..9f1be1a42 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -94,6 +94,9 @@ function get_directory_setting($observer, $setting) {
if($ret === false)
$ret = get_config('directory', $setting);
+
+ // 'safemode' is the default if there is no observer or no established preference.
+
if($setting == 'safemode' && $ret === false)
$ret = 1;