forked from extern/egroupware
Add common function to get list of supported extensions
This commit is contained in:
parent
6554ca4c09
commit
03d3b5c36b
@ -773,4 +773,11 @@ abstract class bo_merge
|
||||
}
|
||||
return $list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a list of supported extentions
|
||||
*/
|
||||
public static function get_file_extensions() {
|
||||
return array('txt', 'rtf', 'odt', 'ods', 'docx', 'xml');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user