CMXX - Custom folder profile and settings update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user