CMXX - Custom folder profile and settings update

This commit is contained in:
“VeLiTi”
2025-03-31 16:10:52 +02:00
parent 2245297a7d
commit 6f35e75198
4 changed files with 4 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ defined(page_security_key) or exit;
// Configuration file
//=============================
$domain = getDomainName($_SERVER['SERVER_NAME']);
$file = ((file_exists(dirname(__FILE__).'/settings/'.$domain.'/settingsprofiles.php')) ? dirname(__FILE__).'/settings/'.$domain.'/settingsprofiles.php' : dirname(__FILE__).'/settings/settingsprofiles.php');
$file = ((file_exists(dirname(__FILE__).'/custom/'.$domain.'/settings/settingsprofiles.php')) ? dirname(__FILE__).'/custom/'.$domain.'/settings/settingsprofiles.php' : dirname(__FILE__).'/settings/settingsprofiles.php');
$page = 'profiles';
//Check if allowed