Changeset 9750
- Timestamp:
- 05/25/10 12:10:09 (2 years ago)
- Files:
-
- freepbx/branches/2.8/amp_conf/bin/archive_recordings (modified) (1 diff)
- freepbx/branches/2.8/amp_conf/htdocs/admin/cdr/lib/defines.php (modified) (1 diff)
- freepbx/branches/2.8/amp_conf/htdocs_panel/index.php (modified) (1 diff)
- freepbx/branches/2.8/amp_conf/htdocs_panel/index_amp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.8/amp_conf/bin/archive_recordings
r7346 r9750 57 57 if (is_array($file)) { 58 58 foreach ($file as $line) { 59 if (preg_match("/^\s*([a-zA-Z0-9_]+)=([a-zA-Z0-9 .&-@=_ <>\"\']+)\s*$/",$line,$matches)) {59 if (preg_match("/^\s*([a-zA-Z0-9_]+)=([a-zA-Z0-9 .&-@=_!<>\"\']+)\s*$/",$line,$matches)) { 60 60 $conf[ $matches[1] ] = $matches[2]; 61 61 } freepbx/branches/2.8/amp_conf/htdocs/admin/cdr/lib/defines.php
r9510 r9750 7 7 $file = file($filename); 8 8 foreach ($file as $line) { 9 if (preg_match("/^\s*([a-zA-Z0-9 ]+)\s*=\s*(.*)\s*([;#].*)?/",$line,$matches)) {9 if (preg_match("/^\s*([a-zA-Z0-9_]+)=([a-zA-Z0-9 .&-@=_!<>\"\']+)\s*$/",$line,$matches)) { 10 10 $conf[ $matches[1] ] = $matches[2]; 11 11 } freepbx/branches/2.8/amp_conf/htdocs_panel/index.php
r8095 r9750 4 4 $file = file($filename); 5 5 foreach ($file as $line) { 6 if (preg_match("/^\s*([a-zA-Z0-9 ]+)\s*=\s*(.*)\s*([;#].*)?/",$line,$matches)) {6 if (preg_match("/^\s*([a-zA-Z0-9_]+)=([a-zA-Z0-9 .&-@=_!<>\"\']+)\s*$/",$line,$matches)) { 7 7 $conf[ $matches[1] ] = $matches[2]; 8 8 } freepbx/branches/2.8/amp_conf/htdocs_panel/index_amp.php
r8095 r9750 4 4 $file = file($filename); 5 5 foreach ($file as $line) { 6 if (preg_match("/^\s*([a-zA-Z0-9 ]+)\s*=\s*(.*)\s*([;#].*)?/",$line,$matches)) {6 if (preg_match("/^\s*([a-zA-Z0-9_]+)=([a-zA-Z0-9 .&-@=_!<>\"\']+)\s*$/",$line,$matches)) { 7 7 $conf[ $matches[1] ] = $matches[2]; 8 8 }
