Changeset 1733
- Timestamp:
- 04/27/06 03:30:18 (7 years ago)
- Files:
-
- modules/branches/2.1/recordings/functions.inc.php (modified) (1 diff)
- modules/branches/2.1/recordings/install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.1/recordings/functions.inc.php
r1624 r1733 125 125 return false; 126 126 } 127 // Now, we don't want a .wav o n the end if there is one.128 if (strstr($filename, '.wav') )127 // Now, we don't want a .wav or .gsm on the end if there is one. 128 if (strstr($filename, '.wav') || strstr($filename, '.gsm')) 129 129 $nowav = substr($filename, 0, -4); 130 130 sql("INSERT INTO recordings values ('', '$displayname', '$nowav', 'No long description available')"); modules/branches/2.1/recordings/install.php
r1564 r1733 38 38 // Ignore the suffix.. 39 39 $fname = ereg_replace('.wav', '', $file); 40 $fname = ereg_replace('.gsm', '', $file); 40 41 if (recordings_get_id("custom/$fname") == null) 41 42 recordings_add($fname, "custom/$file");
