summaryrefslogtreecommitdiffstats
path: root/lib/private/Setup.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-13 10:50:58 +0200
committerJoas Schilling <coding@schilljs.com>2016-09-13 10:51:48 +0200
commit4b26d7d86a6f08c4e2aabc86472c8133f36cf103 (patch)
tree2bbdd95814b317a49b86051829a1be3db476c9ca /lib/private/Setup.php
parent1675542df4a1cfb203dfcbe2393b559577043803 (diff)
downloadnextcloud-server-4b26d7d86a6f08c4e2aabc86472c8133f36cf103.tar.gz
nextcloud-server-4b26d7d86a6f08c4e2aabc86472c8133f36cf103.zip
Update docs
Diffstat (limited to 'lib/private/Setup.php')
-rw-r--r--lib/private/Setup.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php
index 2c7a2879088..4c72fbc9623 100644
--- a/lib/private/Setup.php
+++ b/lib/private/Setup.php
@@ -410,6 +410,7 @@ class Setup {
/**
* Append the correct ErrorDocument path for Apache hosts
+ * @return bool True when success, False otherwise
*/
public static function updateHtaccess() {
$config = \OC::$server->getConfig();
@@ -418,7 +419,7 @@ class Setup {
if(\OC::$CLI) {
$webRoot = $config->getSystemValue('overwrite.cli.url', '');
if($webRoot === '') {
- return;
+ return false;
}
$webRoot = parse_url($webRoot, PHP_URL_PATH);
$webRoot = rtrim($webRoot, '/');