mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 11:29:23 +01:00
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;
|
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