Changeset 5871
- Timestamp:
- 07/01/08 21:44:13 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/functions.inc.php
r5827 r5871 58 58 'SERVERINTITLE' => array('bool' , false), 59 59 'XTNCONFLICTABORT' => array('bool' , false), 60 'USEDEVSTATE' => array('bool' , false), 60 61 ); 61 62 … … 2130 2131 //$fn = "/usr/src/freepbx-modules/modules.xml"; 2131 2132 $data = @ file_get_contents($fn); 2132 $module_getonlinexml_error = empty($data); 2133 2134 if (empty($data)) { 2135 exec("wget -O - $fn 2> /dev/null", $data_arr, $retcode); 2136 $data = implode("\n",$data_arr); 2137 $module_getonlinexml_error = ($retcode == 0)?false:true; 2138 } 2133 2139 2134 2140 $old_xml = array();
