Docker-readiness

This commit is contained in:
Joerg
2024-04-14 17:43:49 +02:00
parent 0a675736ae
commit 3197544ccc
3 changed files with 24 additions and 15 deletions

View File

@@ -24,6 +24,9 @@ if (file_exists('config_unattended.php')) {
// Config Paths
$db_config_path = '../application/config/';
if (isset($_SERVER['CI_ENV'])) {
$db_config_path ='../application/'.$_SERVER['CI_ENV'].'/';
}
$db_file_path = $db_config_path . "database.php";
// if you need to disabled all button locks you can create a root_mode file in the /install directory