Skip to content

Commit

Permalink
Fix Test\SetupTest::testHtaccessIsFolder test
Browse files Browse the repository at this point in the history
  • Loading branch information
VicDeo committed Apr 21, 2020
1 parent 5488517 commit bc737a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ public static function updateHtaccess() {
$webRoot = !empty(\OC::$WEBROOT) ? \OC::$WEBROOT : '/';
}

$htaccessContent = \file_get_contents(self::pathToHtaccess());
$htaccessContent = @\file_get_contents(self::pathToHtaccess());
$content = "#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####\n";
$htaccessContent = \explode($content, $htaccessContent, 2)[0];

Expand Down

0 comments on commit bc737a2

Please sign in to comment.