mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user