aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-27 21:01:58 -0700
committerfriendica <info@friendica.com>2012-05-27 21:01:58 -0700
commit2bd1004587fc8d928b9458b2383b656df115578c (patch)
treea41cbc9032e4bff8872ced3683ded42af0e5da0d /mod
parent08941d42856984a3076e972804ac016400341f91 (diff)
downloadvolse-hubzilla-2bd1004587fc8d928b9458b2383b656df115578c.tar.gz
volse-hubzilla-2bd1004587fc8d928b9458b2383b656df115578c.tar.bz2
volse-hubzilla-2bd1004587fc8d928b9458b2383b656df115578c.zip
rework the way private photos are embedded to avoid url differences and also check the permissions if possible to make sure that nothing sneaks by.
Diffstat (limited to 'mod')
-rw-r--r--mod/settings.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 40fa55eea..e6eb4011f 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -15,6 +15,7 @@ function get_theme_config_file($theme){
}
function settings_init(&$a) {
+
// These lines provide the javascript needed by the acl selector
$a->page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "';" ;