mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
Update app_defaults.php
This commit is contained in:
@@ -25,20 +25,6 @@
|
||||
*/
|
||||
|
||||
//process this only one time
|
||||
if ($domains_processed == 1) {
|
||||
//set the sip_profiles directory for older installs
|
||||
if (isset($_SESSION['switch']['gateways']['dir'])) {
|
||||
$orm = new orm;
|
||||
$orm->name('default_settings');
|
||||
$orm->uuid($_SESSION['switch']['gateways']['uuid']);
|
||||
$array['default_setting_category'] = 'switch';
|
||||
$array['default_setting_subcategory'] = 'sip_profiles';
|
||||
$array['default_setting_name'] = 'dir';
|
||||
//$array['default_setting_value'] = '';
|
||||
//$array['default_setting_enabled'] = 'true';
|
||||
$orm->save($array);
|
||||
unset($array);
|
||||
}
|
||||
}
|
||||
//if ($domains_processed == 1) { }
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user