Changeset 6246
- Timestamp:
- 08/01/08 16:34:47 (2 months ago)
- Files:
-
- modules/branches/2.5/core/agi-bin/dialparties.agi (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/core/agi-bin/dialparties.agi
r6245 r6246 231 231 // Do a security check, we only numeric callerid numbers, otherwise code could be incjected in a cidnum field 232 232 // that could result in an arbitrary command being executed in this remove operation. 233 // TODO: why are we no using php unlink for this?, less overhead234 //235 233 if (ctype_digit($cidnum)) { 236 unlink("$astvarlibdir/sounds/priv-callerintros/$cidnum.*");234 exec("rm -f $astvarlibdir/sounds/priv-callerintros/$cidnum.*"); 237 235 } 238 236 }
