mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Use settings class for app_defaults.php
This commit is contained in:
@@ -28,9 +28,9 @@
|
||||
if ($domains_processed == 1) {
|
||||
|
||||
//create the directory
|
||||
if (!empty($_SESSION['switch']['extensions']['dir'])) {
|
||||
if (!is_dir($_SESSION['switch']['extensions']['dir'])) {
|
||||
mkdir($_SESSION['switch']['extensions']['dir'], 0770, false);
|
||||
if (!empty($setting->get('switch','extensions'))) {
|
||||
if (!is_dir($setting->get('switch','extensions'))) {
|
||||
mkdir($setting->get('switch','extensions'), 0770, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user