mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10084] Add smilie/icon errors out when file is missing
This commit is contained in:
@@ -395,6 +395,10 @@ class acp_icons
|
||||
{
|
||||
// skip images where add wasn't checked
|
||||
}
|
||||
else if (!file_exists($phpbb_root_path . $img_path . '/' . $image))
|
||||
{
|
||||
$errors[$image] = 'SMILIE_NO_FILE';
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($image_width[$image] == 0 || $image_height[$image] == 0)
|
||||
|
Reference in New Issue
Block a user