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:
@@ -59,8 +59,8 @@
|
||||
unset($sql, $modules, $index, $row);
|
||||
|
||||
//use the module class to get the list of modules from the db and add any missing modules
|
||||
if (isset($_SESSION['switch']['mod']['dir'])) {
|
||||
$module->dir = $_SESSION['switch']['mod']['dir'];
|
||||
if (!empty($setting->get('switch','mod'))) {
|
||||
$module->dir = $setting->get('switch','mod');
|
||||
$module->get_modules();
|
||||
$module->synch();
|
||||
$module->xml();
|
||||
|
||||
Reference in New Issue
Block a user