Skip to content
Snippets Groups Projects
Commit f248ee01 authored by Thomas Müller's avatar Thomas Müller
Browse files

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

Make error more descriptive
parents c8f58054 d8559dc7
No related branches found
No related tags found
No related merge requests found
...@@ -273,7 +273,7 @@ class OC_Setup { ...@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment