Changeset 10008
- Timestamp:
- 06/30/10 17:59:17 (3 years ago)
- Files:
-
- modules/branches/2.8/fw_fop/install.php (modified) (1 diff)
- modules/branches/2.8/fw_fop/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.8/fw_fop/install.php
r9488 r10008 84 84 * fw_fop install script 85 85 */ 86 86 87 $bin_source = dirname(__FILE__)."/bin/*"; 87 88 $bin_dest = $amp_conf['AMPBIN']; 89 90 // These files may get installed from a tarball install. If found and not a symlink to here, 91 // then rename it for a backup copy 92 // 93 $del_array = array("retrieve_op_conf_from_mysql.php"); 94 foreach ($del_array as $target) { 95 $file = $bin_dest.'/'.$target; 96 $count=0; 97 $max_count=1000; 98 if (is_file($file) & !is_link($file)) { 99 outn(_("renaming $target so it can be symlinked..")); 100 while (is_file($file.".".$count)) { 101 $count++; 102 if ($count > $max_count) { 103 break; 104 } 105 } 106 if ($count > $max_count || !rename($file,$file.".".$count)) { 107 out(_("failed")); 108 } else { 109 out(_("ok")); 110 } 111 } 112 } 88 113 89 114 $htdocs_panel_source = dirname(__FILE__)."/htdocs_panel/*"; modules/branches/2.8/fw_fop/module.xml
r9987 r10008 2 2 <rawname>fw_fop</rawname> 3 3 <name>FreePBX FOP Framework</name> 4 <version>2.8.0. 2</version>4 <version>2.8.0.3</version> 5 5 <publisher>FreePBX</publisher> 6 6 <license>GPLv2+</license> … … 8 8 <canuninstall>no</canuninstall> 9 9 <changelog> 10 *2.8.0.3* #4388 10 11 *2.8.0.2* #4381 11 12 *2.8.0.1* #4269, remove uninitialized variable
