Changeset 1797
- Timestamp:
- 05/01/06 07:47:31 (7 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/functions.inc.php
r1742 r1797 216 216 global $db; 217 217 global $amp_conf; 218 219 if (!is_dir($amp_conf['AMPWEBROOT'].'/admin/modules')) 220 { 221 mkdir( $amp_conf['AMPWEBROOT'].'/admin/modules' ); 222 return; 223 } 224 218 225 $dir = opendir($amp_conf['AMPWEBROOT'].'/admin/modules'); 219 226 $data = "<xml>"; freepbx/trunk/amp_conf/htdocs/admin/page.modules.php
r1742 r1797 119 119 $online = $this->sortModules($online); 120 120 foreach(array_keys($online) as $arrkey) { 121 122 if (!is_array($installed)) 123 { 124 continue; 125 } 126 121 127 // Determine if module is already local 122 128 if(array_key_exists($arrkey,$installed)) { … … 273 279 $table = "<table border=1><tr><th>". _("Module")."</th><th>". _("Version")."</th><th>". _("Type") ."</th><th>". _("Category") ."</th><th>". _("Status") ."</th><th>". _("Action") ."</th></tr>"; 274 280 $table .= $this->html; 275 $table .= "</table>";281 $table .= "</table>"; 276 282 return $table; 277 283 }
