mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
0a5d167441
commit
ebd958c728
1 changed files with 5 additions and 0 deletions
|
@ -2734,6 +2734,11 @@ function build_hidden_fields($field_ary, $specialchar = false, $stripslashes = f
|
||||||
*/
|
*/
|
||||||
function parse_cfg_file($filename, $lines = false)
|
function parse_cfg_file($filename, $lines = false)
|
||||||
{
|
{
|
||||||
|
if (!file_exists($filename))
|
||||||
|
{
|
||||||
|
trigger_error('NO_STYLE_DATA', E_USER_ERROR);
|
||||||
|
}
|
||||||
|
|
||||||
$parsed_items = array();
|
$parsed_items = array();
|
||||||
|
|
||||||
if ($lines === false)
|
if ($lines === false)
|
||||||
|
|
Loading…
Add table
Reference in a new issue