aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cloud.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-06-17 17:00:17 +0200
committerMario <mario@mariovavti.com>2018-06-17 17:00:17 +0200
commit28043726e64f750e646b42aa6f649e277fc3767e (patch)
tree18a41bea6a4805454e0b1a2dacdfeda451854690 /Zotlabs/Module/Cloud.php
parent9c5df51141d68e50d3c1f5d3097160408debce48 (diff)
parent7e736c5359732647f5203bf2bb7fcd50c448fad9 (diff)
downloadvolse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.tar.gz
volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.tar.bz2
volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Module/Cloud.php')
-rw-r--r--Zotlabs/Module/Cloud.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/Zotlabs/Module/Cloud.php b/Zotlabs/Module/Cloud.php
index 34397d275..1b330ecba 100644
--- a/Zotlabs/Module/Cloud.php
+++ b/Zotlabs/Module/Cloud.php
@@ -35,11 +35,20 @@ class Cloud extends \Zotlabs\Web\Controller {
if (argc() > 1)
$which = argv(1);
+
+ if (argc() < 2 && intval(get_config('system','cloud_disable_siteroot'))) {
+ notice( t('Permission denied.') . EOL);
+ construct_page();
+ killme();
+ }
+
$profile = 0;
if ($which)
profile_load( $which, $profile);
+
+
$auth = new \Zotlabs\Storage\BasicAuth();
$ob_hash = get_observer_hash();