Changeset 5827

Show
Ignore:
Timestamp:
06/25/08 20:10:12 (2 months ago)
Author:
p_lindheimer
Message:

#2862: spaces/tabs at end of asterisk.conf variables end up in path names and create failures

Files:

Legend:

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

    r5723 r5827  
    141141        foreach ($file as $line) { 
    142142                if (preg_match("/^\s*([a-zA-Z0-9]+)\s* => \s*(.*)\s*([;#].*)?/",$line,$matches)) {  
    143                         $conf[ $matches[1] ] = rtrim($matches[2],'/'); 
     143                        $conf[ $matches[1] ] = rtrim($matches[2],"/ \t"); 
    144144                } 
    145145        } 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads