big bug with the last RC
| From: | steve | Date: | Thu, 14 Aug 2003 14:38:44 +0000 |
| Subject: | big bug with the last RC | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10076@lists.php.net to get a copy of this message | ||
I am not sure that is the good mailling list, but here it is:
if I have a configuration file with:
[abc]
a.b = "toto"
b.fgf = "toto2"
These 2 variables won't be loaded. The issue seems to come from the function _parse_config_block in Config_file.class.php, and more precisely:
preg_match("/^\s*(\.?\w+)\s*=(.*)/", $line, $match)
In my program, $line was:
horde.success_img = "alerts/success.gif"
Note: that doesn't work either:
headers_description = "This is a shared ."
NB. It worked with the stable version
Hope that helps,