Skip to content

Commit

Permalink
Revert is_writable should be negative
Browse files Browse the repository at this point in the history
Now error is show when the folders is successfully writeable!

Revert the change from #3534
#3480
  • Loading branch information
partydragen committed Oct 18, 2024
1 parent 1aa8fa5 commit 9b1138b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
];

foreach ($writable_check_paths as $path) {
if (is_dir($path) && is_writable($path)) {
if (is_dir($path) && !is_writable($path)) {
$message = '<p>Your website directory or a subdirectory is not writable. Please ensure all files and directories are owned by
the correct user.</p>';

Expand Down

0 comments on commit 9b1138b

Please sign in to comment.