Changeset 2136
- Timestamp:
- 07/12/06 22:09:18 (7 years ago)
- Files:
-
- freepbx/trunk/amp_conf/bin/retrieve_conf (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/bin/retrieve_conf
r2090 r2136 242 242 if(isset($active_modules) && is_array($active_modules)){ 243 243 foreach($active_modules as $active_module) { 244 debug("Creating ".$active_module."_conf class"); 244 245 $classname = $active_module."_conf"; 245 246 if(class_exists($classname)) { … … 256 257 $funcname = $module."_get_config"; 257 258 if (function_exists($funcname)) { 259 debug('Calling '.$funcname.'()'); 258 260 $funcname($engine); 259 261 } … … 267 269 $funcname = $module."_hookGet_config"; 268 270 if (function_exists($funcname)) { 271 debug('Calling '.$funcname.'()'); 269 272 $funcname($engine); 270 273 } … … 304 307 function write_file($filename,$contents) { 305 308 global $asterisk_conf; 309 debug('Writing '.$filename); 306 310 if (isset($filename) && !empty($filename)) { 307 311 if ($fd = fopen($asterisk_conf['astetcdir'].'/'.$filename, "w")) {
