Slash in config section name
| From: | Ralph Meijer | Date: | Mon, 04 Nov 2002 13:11:21 +0000 |
| Subject: | Slash in config section name | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6317@lists.php.net to get a copy of this message | ||
Hi,
I have found that one cannot use a slash in the name of a config file section.
This is because the slash is not escaped by preg_quote in Config_File.class.php
and causes 'Unknown modifier' warnings.
Added '/' as second parameter to preg_quote will fix this. I have attached a
very small patch file to do just that.
--
Greetz,
Ralphm