Update support.php

This commit is contained in:
Frank Hochmuth 2024-03-08 00:08:07 +01:00 committed by GitHub
parent 25e0a67f4d
commit 701e0ce938
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -276,14 +276,14 @@
if (file_exists("{$BASE_DIR}/fp-content/images/.thumbs")) { if (file_exists("{$BASE_DIR}/fp-content/images/.thumbs")) {
$test_file = @fopen("{$BASE_DIR}/fp-content/images/.thumbs/chmod-test-file", "a+"); $test_file = @fopen("{$BASE_DIR}/fp-content/images/.thumbs/chmod-test-file", "a+");
if ($test_file) { if ($test_file) {
echo '<p class="success"><strong>&#10003;</strong> The images/.thump directory is writable.</p>'; echo '<p class="success"><strong>&#10003;</strong> The images/.thumbs directory is writable.</p>';
} else { } else {
echo '<p class="error"><strong>&#33;</strong> The images/.thump directory is not writable!</p>'; echo '<p class="error"><strong>&#33;</strong> The images/.thumbs directory is not writable!</p>';
} }
@fclose($test_file); @fclose($test_file);
@unlink("{$BASE_DIR}/fp-content/images/chmod-test-file"); @unlink("{$BASE_DIR}/fp-content/images/chmod-test-file");
} else { } else {
echo '<p class="attention"><strong>&#8505;</strong> The .thump directory does not exist, but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin</p>'; echo '<p class="attention"><strong>&#8505;</strong> The .thumbs directory does not exist, but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin</p>';
} }
?> ?>