Update support.php
This commit is contained in:
parent
25e0a67f4d
commit
701e0ce938
@ -276,14 +276,14 @@
|
||||
if (file_exists("{$BASE_DIR}/fp-content/images/.thumbs")) {
|
||||
$test_file = @fopen("{$BASE_DIR}/fp-content/images/.thumbs/chmod-test-file", "a+");
|
||||
if ($test_file) {
|
||||
echo '<p class="success"><strong>✓</strong> The images/.thump directory is writable.</p>';
|
||||
echo '<p class="success"><strong>✓</strong> The images/.thumbs directory is writable.</p>';
|
||||
} else {
|
||||
echo '<p class="error"><strong>!</strong> The images/.thump directory is not writable!</p>';
|
||||
echo '<p class="error"><strong>!</strong> The images/.thumbs directory is not writable!</p>';
|
||||
}
|
||||
@fclose($test_file);
|
||||
@unlink("{$BASE_DIR}/fp-content/images/chmod-test-file");
|
||||
} else {
|
||||
echo '<p class="attention"><strong>ℹ</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>ℹ</strong> The .thumbs directory does not exist, but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin</p>';
|
||||
}
|
||||
?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user