Update app_defaults.php

This commit is contained in:
Alex 2025-03-14 13:40:03 -07:00 committed by GitHub
parent 78a7d3eb58
commit 30b593fd83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -28,9 +28,9 @@
if ($domains_processed == 1) {
//create the directory
if (!empty($setting->get('switch','extensions'))) {
if (!is_dir($setting->get('switch','extensions'))) {
mkdir($setting->get('switch','extensions'), 0770, false);
if (!empty($settings->get('switch','extensions'))) {
if (!is_dir($settings->get('switch','extensions'))) {
mkdir($settings->get('switch','extensions'), 0770, false);
}
}
@ -106,4 +106,4 @@
}
?>
?>