Files
assetmgt/settings/settings_redirector.php
“VeLiTi” 4b83f596f1 Refactor RBAC migration scripts and update configuration handling
- Removed old migration scripts for profiles and users to RBAC.
- Updated config redirector to utilize environment variables for configuration loading.
- Added .gitignore files to firmware, log, and marketing directories to prevent unnecessary file tracking.
- Introduced new configuration files for acceptance, development, and production environments with relevant settings.
- Enhanced settings files to include exception lists, security keys, and database settings.
2026-02-06 13:34:54 +01:00

12 lines
532 B
PHP

<?php
//======================================================================
//REDIRECTOR TO settings FILE BASED ON .htacces - SetEnv APP_ENV development
//======================================================================
$env = getenv('APP_ENV') ?: 'development';
$settings_location = ((file_exists(dirname(__FILE__,2).'/custom/'.$env.'/settings/'.$env.'_settings.php')) ? dirname(__FILE__,2).'/custom/'.$env.'/settings/'.$env.'_settings.php' : dirname(__FILE__).'/'.$env.'_settings.php');
include $settings_location;
?>