mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Use settings class for app_defaults.php
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
if ($num_rows == 0) {
|
||||
|
||||
//set the directory
|
||||
$xml_dir = $_SESSION["switch"]["conf"]["dir"].'/autoload_configs';
|
||||
$xml_dir = $setting->get('switch','conf').'/autoload_configs';
|
||||
$xml_file = $xml_dir."/conference.conf";
|
||||
$xml_file_alt = $_SERVER["DOCUMENT_ROOT"].'/'.PROJECT_PATH.'/app/switch/resources/conf/autoload_configs/conference.conf';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user