mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 10:43:49 +00:00
Provide defaults arguments for backwards compatiblity.
This commit is contained in:
@@ -65,7 +65,7 @@ class file {
|
||||
/**
|
||||
* Get the sounds list of search as a relative path without the rate
|
||||
*/
|
||||
public function sounds($language, $dialect, $voice) {
|
||||
public function sounds($language = 'en', $dialect = 'us', $voice = 'callie') {
|
||||
//set default values
|
||||
if (!isset($language)) { $language = 'en'; }
|
||||
if (!isset($dialect)) { $dialect = 'us'; }
|
||||
|
||||
Reference in New Issue
Block a user