1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16080] Use placeholder

PHPBB3-16080
This commit is contained in:
3D-I
2019-08-12 21:14:58 +02:00
parent 964c212f03
commit 37de0f96d1
2 changed files with 3 additions and 2 deletions

View File

@@ -1123,9 +1123,10 @@ class acp_styles
*/
protected function read_style_cfg($dir)
{
// This should never happen, we give them a red warning because of its relevance.
if (!file_exists($this->styles_path . $dir . '/style.cfg'))
{
trigger_error($this->user->lang['NO_STYLE_CFG'] . $dir, E_USER_WARNING);
trigger_error(sprintf($this->user->lang['NO_STYLE_CFG'], $dir), E_USER_WARNING);
}
static $required = array('name', 'phpbb_version', 'copyright');