Changeset 3891

Show
Ignore:
Timestamp:
03/28/07 15:36:18 (1 year ago)
Author:
p_lindheimer
Message:

#1847 - values specified on right side of '=' in trunk configs were being truncated breakins secrets with '=' as well as servar=var=value would be broke, thanks toddinpal

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.2/amp_conf/htdocs/admin/modules/core/functions.inc.php

    r3858 r3891  
    13981398                $line = trim($line); 
    13991399                if (count(split('=',$line)) > 1) { 
    1400                         $tmp = split('=',$line); 
     1400                        $tmp = split('=',$line,2); 
    14011401                        $key=trim($tmp[0]); 
    14021402                        $value=trim($tmp[1]); 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads