Make error more descriptive
Ref https://github.com/owncloud/core/issues/13693#issuecomment-71546767
This commit is contained in:
parent
5da4071c45
commit
d8559dc78f
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue