aboutsummaryrefslogtreecommitdiffstats
path: root/include/dir_fns.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-11 15:32:25 -0800
committerfriendica <info@friendica.com>2013-12-11 15:32:25 -0800
commitc57b6745e8d7222d9cecfb04cd81c9ef7eb25d05 (patch)
treecc9eef5ea3c6676cd537f2f89776ab6d3c835db1 /include/dir_fns.php
parent2c02f57f276658269a6cc2031fb0fc9ac0a9077c (diff)
parent06c81e189f031a74c54aa14b1f29c93379e7cf3c (diff)
downloadvolse-hubzilla-c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05.tar.gz
volse-hubzilla-c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05.tar.bz2
volse-hubzilla-c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05.zip
Merge https://github.com/friendica/red into zpull
Conflicts: view/theme/redbasic/css/style.css
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r--include/dir_fns.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index 0c9a6bd9f..02e8186b7 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -22,7 +22,8 @@ function dir_sort_links() {
function dir_safe_mode() {
$observer = get_observer_hash();
-
+if (! $observer)
+ return;
if ($observer)
$safe_mode = get_xconfig($observer,'directory','safe_mode');
if($safe_mode === '0')