[ticket/16080] Provide a back-trace for deleted installed style

That's a very edge case, I am using the same approach done in user.php

PHPBB3-16080
This commit is contained in:
3D-I 2019-08-11 23:19:06 +02:00
parent 0a5d167441
commit ebd958c728

View file

@ -2734,6 +2734,11 @@ function build_hidden_fields($field_ary, $specialchar = false, $stripslashes = f
*/
function parse_cfg_file($filename, $lines = false)
{
if (!file_exists($filename))
{
trigger_error('NO_STYLE_DATA', E_USER_ERROR);
}
$parsed_items = array();
if ($lines === false)