diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-14 21:00:02 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-14 21:00:02 +0000 |
commit | 6da5a2fdd4e8a19ab993b4a1f7de7e45b8922a16 (patch) | |
tree | d98a0cf88baf7a1b2f5329090a60b575dcdf3e83 /lib/base.php | |
parent | dd98afc56c4356a06fb5afef39da916a97bae90b (diff) | |
download | nextcloud-server-6da5a2fdd4e8a19ab993b4a1f7de7e45b8922a16.tar.gz nextcloud-server-6da5a2fdd4e8a19ab993b4a1f7de7e45b8922a16.zip |
Add possibility to choose the installation folder
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index 6e85f1a7346..ca4052e5a18 100644 --- a/lib/base.php +++ b/lib/base.php @@ -169,9 +169,9 @@ class OC{ OC::$APPSROOTS[] = $paths; } }elseif(file_exists(OC::$SERVERROOT.'/apps')){ - OC::$APPSROOTS[] = array('path'=> OC::$SERVERROOT.'/apps', 'url' => OC::$WEBROOT.'/apps/'); + OC::$APPSROOTS[] = array('path'=> OC::$SERVERROOT.'/apps', 'url' => OC::$WEBROOT.'/apps/', 'writable' => true); }elseif(file_exists(OC::$SERVERROOT.'/../apps')){ - OC::$APPSROOTS[] = array('path'=> rtrim(dirname(OC::$SERVERROOT), '/').'/apps', 'url' => rtrim(dirname(OC::$WEBROOT), '/').'/apps/'); + OC::$APPSROOTS[] = array('path'=> rtrim(dirname(OC::$SERVERROOT), '/').'/apps', 'url' => rtrim(dirname(OC::$WEBROOT), '/').'/apps/', 'writable' => true); OC::$APPSROOT=rtrim(dirname(OC::$SERVERROOT), '/'); } |