summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-12 23:56:25 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-15 11:15:38 +0100
commit82869b6d814560283c0d0771437cbd6f98cd102f (patch)
tree62f2463cbe35f3f1fb5c839b574cfcb61f56360b /core/Command
parent3dc7d0fb900eec8b792768505299ba73300efb89 (diff)
downloadnextcloud-server-82869b6d814560283c0d0771437cbd6f98cd102f.tar.gz
nextcloud-server-82869b6d814560283c0d0771437cbd6f98cd102f.zip
Fix case when overwrite URL is empty during setup
Found while testing strict typing for PHP 7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/Maintenance/UpdateHtaccess.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Maintenance/UpdateHtaccess.php b/core/Command/Maintenance/UpdateHtaccess.php
index 4b9c8a72b52..001f07187d6 100644
--- a/core/Command/Maintenance/UpdateHtaccess.php
+++ b/core/Command/Maintenance/UpdateHtaccess.php
@@ -43,7 +43,7 @@ class UpdateHtaccess extends Command {
$output->writeln('.htaccess has been updated');
return 0;
} else {
- $output->writeln('<error>Error updating .htaccess file, not enough permissions?</error>');
+ $output->writeln('<error>Error updating .htaccess file, not enough permissions or "overwrite.cli.url" set to an invalid URL?</error>');
return 1;
}
}