Changeset 5996
- Timestamp:
- 07/13/08 18:21:12 (6 months ago)
- Files:
-
- modules/branches/2.4/music/module.xml (modified) (2 diffs)
- modules/branches/2.4/music/page.music.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/music/module.xml
r5804 r5996 2 2 <rawname>music</rawname> 3 3 <name>Music on Hold</name> 4 <version>2.4.0. 2</version>4 <version>2.4.0.3</version> 5 5 <candisable>no</candisable> 6 6 <canuninstall>no</canuninstall> … … 9 9 <description>Uploading and management of sound files (wav, mp3) to be used for on-hold music.</description> 10 10 <changelog> 11 *2.4.0.3* #2773 change change from exec of rm to unlink to remove security vulnerability 11 12 *2.4.0.2* #2843 Russian Translation 12 13 *2.4.0.1* #2591 localization fixes modules/branches/2.4/music/page.music.php
r5658 r5996 333 333 echo "<h5>"._("You must have at least one file for On Hold Music. Please upload one before deleting this one.")."</h5>"; 334 334 } else { 335 $rmcmd="rm -f \"".$path_to_dir."/".$del."\""; 336 exec($rmcmd); 337 echo "<h5>"._("Deleted")." ".$del."!</h5>"; 335 if (@unlink($path_to_dir."/".$del)) { 336 echo "<h5>"._("Deleted")." ".$del."!</h5>"; 337 } else { 338 echo "<h5>".sprintf(_("Error Deleting %s"),$del)."!</h5>"; 339 } 338 340 //kill_mpg123(); 339 341 needreload();
