diff options
author | 3D-I <eataly3d@gmail.com> | 2019-08-12 01:19:30 +0200 |
---|---|---|
committer | 3D-I <eataly3d@gmail.com> | 2019-08-12 01:20:33 +0200 |
commit | 964c212f031ef7fcbd2e95d28218007830b5d184 (patch) | |
tree | b69caa482b8ab8911c8dead187f38a65198cfa97 /phpBB/includes/acp/acp_styles.php | |
parent | 1de4a65e581b43a69c7d40ad705dbf752782fcff (diff) | |
download | forums-964c212f031ef7fcbd2e95d28218007830b5d184.tar forums-964c212f031ef7fcbd2e95d28218007830b5d184.tar.gz forums-964c212f031ef7fcbd2e95d28218007830b5d184.tar.bz2 forums-964c212f031ef7fcbd2e95d28218007830b5d184.tar.xz forums-964c212f031ef7fcbd2e95d28218007830b5d184.zip |
[ticket/16080] Provide a meaningful error message for deleted installed style
PHPBB3-16080
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index b5507005b0..04cb1f15ef 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -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'); |