- Timestamp:
- 01/28/10 12:17:00 (3 years ago)
- Files:
-
- freepbx/trunk/amp_conf/bin/retrieve_conf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/bin/retrieve_conf
r8599 r8701 806 806 } 807 807 808 // Some later versions of Aserisk require the existence of a cdr.conf file or no CDR 809 // incuding MySQL logging will work (see #3940) 810 // 811 $target = $amp_conf['ASTETCDIR']."/cdr.conf"; 812 if (!file_exists($target)) { 813 $output = array(); 814 exec("touch $target", $output, $retcode); 815 if ($retcode != 0) { 816 error("Error code $retcode: trying to create empty file $target"); 817 } 818 } 808 819 809 820 // **** Set reload flag for AMP admin
