aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-01-02 17:30:59 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-01-02 17:30:59 +0000
commit2faf2639ee89ab6e92ac474bbc01ca226c4c4ed3 (patch)
treefc921eff9cd66ee46f22b550977b2d9fe3f34ca4 /phpBB/includes/functions.php
parente68d442f522dd51fe23d4f0ae6095b132c7052ce (diff)
downloadforums-2faf2639ee89ab6e92ac474bbc01ca226c4c4ed3.tar
forums-2faf2639ee89ab6e92ac474bbc01ca226c4c4ed3.tar.gz
forums-2faf2639ee89ab6e92ac474bbc01ca226c4c4ed3.tar.bz2
forums-2faf2639ee89ab6e92ac474bbc01ca226c4c4ed3.tar.xz
forums-2faf2639ee89ab6e92ac474bbc01ca226c4c4ed3.zip
- install style and style elements
- refresh template and style cache git-svn-id: file:///svn/phpbb/trunk@5416 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 64fda22ac8..3731b073cc 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1508,6 +1508,10 @@ function parse_cfg_file($filename, $lines = false)
{
$value = true;
}
+ else if (!trim($value))
+ {
+ $value = '';
+ }
else if (($value{0} == "'" && $value{sizeof($value)-1} == "'") || ($value{0} == '"' && $value{sizeof($value)-1} == '"'))
{
$value = substr($value, 1, sizeof($value)-2);