mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
[ticket/16080] Provide a meaningful error message for deleted installed style
PHPBB3-16080
This commit is contained in:
@@ -1125,7 +1125,7 @@ class acp_styles
|
||||
{
|
||||
if (!file_exists($this->styles_path . $dir . '/style.cfg'))
|
||||
{
|
||||
trigger_error('NO_STYLE_DATA', E_USER_ERROR);
|
||||
trigger_error($this->user->lang['NO_STYLE_CFG'] . $dir, E_USER_WARNING);
|
||||
}
|
||||
|
||||
static $required = array('name', 'phpbb_version', 'copyright');
|
||||
|
Reference in New Issue
Block a user