From e8dfb12925642c24ff59441b710012ffb2114c6a Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 13 Dec 2005 18:56:33 +0100 Subject: confutils fix to allow '#' when immediately preceeded by'&' (# is a comment indicator otherwise) darcs-hash:20051213175633-9b6ab-1103b79a9d956d72e20b3df6ba4e5e6b55443c78.gz --- inc/confutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/confutils.php') diff --git a/inc/confutils.php b/inc/confutils.php index 1415d48f6..9432c10d5 100644 --- a/inc/confutils.php +++ b/inc/confutils.php @@ -131,7 +131,7 @@ function confToHash($file,$lower=false) { foreach ( $lines as $line ) { //ignore comments - $line = preg_replace('/[^&]?#.*$/','',$line); + $line = preg_replace('/(?