mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +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)
|
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)
|
||||||
|
Reference in New Issue
Block a user