From 0334d424779dac4f0adf89caa0362a03f93163c3 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 28 Dec 2005 17:35:20 +0000 Subject: - some changes to browser checking (was the reason for not working logins) - partly working style acp - other tiny changes here and there git-svn-id: file:///svn/phpbb/trunk@5388 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/functions.php') diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 8570ff2eed..7f816d9b1c 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1481,11 +1481,14 @@ function build_hidden_fields($field_ary) /** * Parse cfg file */ -function parse_cfg_file($filename) +function parse_cfg_file($filename, $lines = false) { $parsed_items = array(); - $lines = file($filename); + if ($lines === false) + { + $lines = file($filename); + } foreach ($lines as $line) { -- cgit v1.2.1