- Timestamp:
- 03/24/10 18:07:05 (3 years ago)
- Files:
-
- freepbx/branches/2.7/install_amp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.7/install_amp
r9367 r9372 1036 1036 $md5sums = read_md5_file(UPGRADE_DIR."/".$version.".md5"); 1037 1037 list($num_files, $num_copied) = recursive_copy("amp_conf", "", $md5sums); 1038 // link the packed js library for ARI, if there the error will indicate that1039 link($amp_conf['AMPWEBROOT'].'/admin/common/libfreepbx.javascripts.js',$amp_conf['AMPWEBROOT'].'/recordings/theme/js');1040 1038 if (!is_file("/etc/asterisk/voicemail.conf")) copy("/etc/asterisk/voicemail.conf.template","/etc/asterisk/voicemail.conf"); 1041 1039 if (!is_dir("/var/spool/asterisk/voicemail/device")) amp_mkdir("/var/spool/asterisk/voicemail/device", "0755", true); 1042 1040 out("OK (".$num_copied." files copied, ".($num_files-$num_copied)." skipped)"); 1041 1042 // link the packed js library for ARI, if there the error will indicate that 1043 $libfreepbx = $amp_conf['AMPWEBROOT'].'/admin/common/libfreepbx.javascripts.js'; 1044 $dest_libfreepbx = $amp_conf['AMPWEBROOT'].'/recordings/theme/js/libfreepbx.javascripts.js'; 1045 if (file_exists($libfreepbx) && !file_exists($dest_libfreepbx)) { 1046 outn(_("linking libfreepbx.javascripts.js to theme/js..")); 1047 if (link($libfreepbx, $dest_libfreepbx)) { 1048 out(_("ok")); 1049 } else { 1050 out(_("possible error - check warning message")); 1051 } 1052 } 1043 1053 } 1044 1054
