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

Make error more descriptive
remotes/origin/create-share-target-reuse
Thomas Müller 12 years ago
commit f248ee013b
  1. 2
      lib/private/setup.php

@ -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";

Loading…
Cancel
Save