function ckeditor_swf_players in CKEditor SWF - Enhanced Flash embedding plugin 7
Same name and namespace in other branches
- 6.2 ckeditor_swf.module \ckeditor_swf_players()
1 call to ckeditor_swf_players()
1 string reference to 'ckeditor_swf_players'
File
- ./
ckeditor_swf.module, line 408 - Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr
Code
function ckeditor_swf_players() {
$players = variable_get('ckeditor_swf_players', array());
foreach ($players as $mime => $player) {
$path = $player['path'];
if (file_exists($path)) {
$players[$mime]['path'] = base_path() . $path;
}
else {
unset($players[$mime]);
}
}
return $players;
}