Merge pull request #13694 from owncloud/little-bit-more-descriptive-htaccess-error

Make error more descriptive
This commit is contained in:
Thomas Müller 2015-01-27 09:15:57 +01:00
commit f248ee013b
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class OC_Setup {
public static function updateHtaccess() { public static function updateHtaccess() {
$setupHelper = new OC_Setup(\OC::$server->getConfig()); $setupHelper = new OC_Setup(\OC::$server->getConfig());
if(!$setupHelper->isCurrentHtaccess()) { if(!$setupHelper->isCurrentHtaccess()) {
throw new \OC\HintException('.htaccess file has the wrong version. Please upload the correct version.'); throw new \OC\HintException('.htaccess file has the wrong version. Please upload the correct version. Maybe you forgot to replace it after updating?');
} }
$content = "\n"; $content = "\n";