aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-22 17:41:54 -0700
committerfriendica <info@friendica.com>2013-10-22 17:41:54 -0700
commitacca7893e86cda38a3969c3009505d086da7bb92 (patch)
tree1661d48a600cab9c42980d91c7731d9cb24f7674 /mod
parent985d8091add5a4b9545d8efc7d3bc5494d405de6 (diff)
downloadvolse-hubzilla-acca7893e86cda38a3969c3009505d086da7bb92.tar.gz
volse-hubzilla-acca7893e86cda38a3969c3009505d086da7bb92.tar.bz2
volse-hubzilla-acca7893e86cda38a3969c3009505d086da7bb92.zip
move killme inside module function so that typo works
Diffstat (limited to 'mod')
-rw-r--r--mod/cloud.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/cloud.php b/mod/cloud.php
index 7725d5a2f..cdd926444 100644
--- a/mod/cloud.php
+++ b/mod/cloud.php
@@ -16,8 +16,6 @@
// This interface does not yet support Red stored files. Consider any content in your "store"
// directory to be throw-away until advised otherwise.
- if(! get_config('system','enable_cloud'))
- killme();
use Sabre\DAV;
@@ -86,6 +84,8 @@ class RedBasicAuth extends Sabre\DAV\Auth\Backend\AbstractBasic {
function cloud_init() {
+ if(! get_config('system','enable_cloud'))
+ killme();
$rootDirectory = new DAV\FS\Directory('store');
$server = new DAV\Server($rootDirectory);