Skip to content

Commit

Permalink
Improved Permissions Error Messages for Initial Install (#2435)
Browse files Browse the repository at this point in the history
- Made the wording of the error more generic
- Added link to the relevant section in the installation guide

Resolves #2327.
  • Loading branch information
nina-py authored Nov 7, 2020
1 parent 529d2ed commit c10cc92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Install/Prerequisite/WritablePaths.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private function getNonWritablePaths(): Collection
})->map(function ($path, $index) {
return [
'message' => 'The '.$this->getAbsolutePath($path).' directory is not writable.',
'detail' => 'Please chmod this directory'.(in_array($index, $this->wildcards) ? ' and its contents' : '').' to 0775.'
'detail' => 'Please make sure your web server/PHP user has write access to this directory'.(in_array($index, $this->wildcards) ? ' and its contents' : '').'. Read the <a href="https://docs.flarum.org/install.html#folder-ownership">installation documentation</a> for a detailed explanation and steps to resolve this error.'
];
});
}
Expand Down

0 comments on commit c10cc92

Please sign in to comment.