CMXX - Custom folder

This commit is contained in:
“VeLiTi”
2025-03-31 15:48:42 +02:00
parent 8e0a21f80b
commit 2245297a7d
26 changed files with 585 additions and 13 deletions

View File

@@ -22,7 +22,7 @@
$domain = $hostname;
}
$settings_location = ((file_exists(dirname(__FILE__).'/'.$domain.'/'.$domain.'_settings.php')) ? dirname(__FILE__).'/'.$domain.'/'.$domain.'_settings.php' : dirname(__FILE__).'/settings.php');
$settings_location = ((file_exists(dirname(__FILE__,2).'/custom/'.$domain.'/style/'.$domain.'_settings.php')) ? dirname(__FILE__,2).'/custom/'.$domain.'/style/'.$domain.'_settings.php' : dirname(__FILE__).'/settings.php');
include $settings_location;
?>