Changeset 2656

Show
Ignore:
Timestamp:
10/05/06 10:41:57 (7 years ago)
Author:
diego_iastrubni
Message:

key names may contain "_"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/functions.inc.php

    r2643 r2656  
    2525  if (is_array($file)) { 
    2626    foreach ($file as $line) { 
    27       if (preg_match("/^\s*([a-zA-Z0-9]+)=([a-zA-Z0-9 .&-@=_<>\"\']+)\s*$/",$line,$matches)) { 
     27      if (preg_match("/^\s*([a-zA-Z0-9_]+)=([a-zA-Z0-9 .&-@=_<>\"\']+)\s*$/",$line,$matches)) { 
    2828        $conf[ $matches[1] ] = $matches[2]; 
    2929      }