Changeset 7907
- Timestamp:
- 08/02/09 16:37:44 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/functions.inc.php
r7906 r7907 759 759 if (is_array($file)) { 760 760 foreach ($file as $line) { 761 if (preg_match("/^\s*([a-zA-Z0-9_]+)=([a-zA-Z0-9 .&-@=_ <>\"\']+)\s*$/",$line,$matches)) {761 if (preg_match("/^\s*([a-zA-Z0-9_]+)=([a-zA-Z0-9 .&-@=_!<>\"\']+)\s*$/",$line,$matches)) { 762 762 $conf[ $matches[1] ] = $matches[2]; 763 763 } … … 1710 1710 // duplace name line 1711 1711 $vmconf[$section][ $matches[1] ]["dups"][] = $matches[2]; 1712 } else if (preg_match( "/^\s*#include\s+(.*)\s*([;#].*)?/",$line,$matches)) {1712 } else if (preg_match('/^\s*#include\s+"{0,1}([^"]*)"{0,1}\s*([;#].*)?/',$line,$matches)) { 1713 1713 // include another file 1714 1714
