Revert "Update displaying.php"

This reverts commit 8430db0b3e.
This commit is contained in:
Roman Kelesidis 2024-01-06 00:59:47 +07:00
parent 8430db0b3e
commit 47aff7edfe

View File

@ -197,10 +197,10 @@ function display_attachments($post_id)
$thumbnail_filename = $upload_dir . '/' . THUMB_DIR . '/t_' . basename($attachments['_' . $post_id][$i]['physical_filename']);
// Check the file existence
/*if (!is_file($filename))
if (!is_file($filename))
{
continue;
}*/
}
$upload_image = '';
@ -319,10 +319,10 @@ function display_attachments($post_id)
else
{
// Checks the thumbnail existence
/*if (!is_file($thumbnail_filename))
if (!is_file($thumbnail_filename))
{
continue;
}*/
}
$thumb_source = $thumbnail_filename;
}