Show
Ignore:
Timestamp:
12/09/10 15:34:08 (2 years ago)
Author:
p_lindheimer
Message:

fixes #4681 precede parse_ini_file() @ to remove warnings about '#' from includes in the .conf files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.8/sipsettings/module.xml

    r10072 r10672  
    22  <rawname>sipsettings</rawname> 
    33  <name>Asterisk SIP Settings</name> 
    4   <version>2.8.0.0</version> 
     4  <version>2.8.0.1</version> 
    55  <publisher>Bandwidth.com</publisher> 
    66  <license>AGPLv3</license> 
     
    1414  </description> 
    1515  <changelog> 
     16    *2.8.0.1* #4681 
    1617    *2.8.0.0* published 2.8 version 
    1718    *2.7.0.1* localizations 
  • modules/branches/2.8/sipsettings/page.sipsettings.php

    r8792 r10672  
    971971  foreach ($custom_files as $file) { 
    972972    if (file_exists($file)) { 
    973       $sip_conf = parse_ini_file($file,true); 
     973      $sip_conf = @parse_ini_file($file,true); 
    974974      $main = true; // 1 is sip.conf, after that don't care 
    975975      foreach ($sip_conf as $section => $item) {