mirror of
https://github.com/flarum/framework.git
synced 2025-02-07 18:52:01 +08:00
Improved Permissions Error Messages for Initial Install (#2435)
- Made the wording of the error more generic - Added link to the relevant section in the installation guide Resolves #2327.
This commit is contained in:
parent
0ae19a3da6
commit
de5d9644cf
|
@ -53,7 +53,7 @@ class WritablePaths implements PrerequisiteInterface
|
|||
})->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.'
|
||||
];
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user