Include additional functions
This commit is contained in:
parent
4e260b170e
commit
cdcfcfd520
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2021
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2022
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
|
@ -2268,7 +2268,6 @@ function number_pad($number,$n) {
|
|||
|
||||
//send the user_exists command to freeswitch
|
||||
if ($fp) {
|
||||
//build and send the mkdir command to freeswitch
|
||||
if (is_null($domain_name)) {
|
||||
$domain_name = $_SESSION['domain_name'];
|
||||
}
|
||||
|
|
@ -2283,4 +2282,10 @@ function number_pad($number,$n) {
|
|||
}
|
||||
}
|
||||
|
||||
//include additional functions
|
||||
$functions = glob("{".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/functions/*.php,".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/*/*/resources/functions/*.php}", GLOB_BRACE);
|
||||
foreach($functions as $function) {
|
||||
require($function);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue