Make error more descriptive

Ref https://github.com/owncloud/core/issues/13693#issuecomment-71546767
This commit is contained in:
Lukas Reschke 2015-01-26 22:59:12 +01:00
parent 5da4071c45
commit d8559dc78f
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class OC_Setup {
public static function updateHtaccess() {
$setupHelper = new OC_Setup(\OC::$server->getConfig());
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";