mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Other Folder
This commit is contained in:
@@ -112,8 +112,8 @@ class Core
|
||||
$template_path = 'config/database.php';
|
||||
$output_path = $_SERVER['DOCUMENT_ROOT'] . '/' . $data['directory'] . '/application/config/database.php';
|
||||
if (isset($_ENV['CI_ENV'])) {
|
||||
$template_path = $_ENV['CI_ENV'].'/database.php';
|
||||
$output_path = $_SERVER['DOCUMENT_ROOT'] . '/' . $data['directory'] . '/application/'.$_ENV['CI_ENV'].'/database.php';
|
||||
$template_path = 'config/'.$_ENV['CI_ENV'].'/database.php';
|
||||
$output_path = $_SERVER['DOCUMENT_ROOT'] . '/' . $data['directory'] . '/application/config/'.$_ENV['CI_ENV'].'/database.php';
|
||||
}
|
||||
|
||||
// Open the file
|
||||
@@ -154,8 +154,8 @@ class Core
|
||||
$template_path = 'config/config.php';
|
||||
$output_path = $_SERVER['DOCUMENT_ROOT'] . '/' . $data['directory'] . '/application/config/config.php';
|
||||
if (isset($_ENV['CI_ENV'])) {
|
||||
$template_path = $_ENV['CI_ENV'].'/config.php';
|
||||
$output_path = $_SERVER['DOCUMENT_ROOT'] . '/' . $data['directory'] . '/application/'.$_ENV['CI_ENV'].'/config.php';
|
||||
$template_path = 'config/'.$_ENV['CI_ENV'].'/config.php';
|
||||
$output_path = $_SERVER['DOCUMENT_ROOT'] . '/' . $data['directory'] . '/application/config/'.$_ENV['CI_ENV'].'/config.php';
|
||||
}
|
||||
|
||||
// Open the file
|
||||
|
||||
@@ -25,7 +25,7 @@ if (file_exists('config_unattended.php')) {
|
||||
// Config Paths
|
||||
$db_config_path = '../application/config/';
|
||||
if (isset($_ENV['CI_ENV'])) {
|
||||
$db_config_path ='../application/'.$_ENV['CI_ENV'].'/';
|
||||
$db_config_path ='../application/config/'.$_ENV['CI_ENV'].'/';
|
||||
}
|
||||
$db_file_path = $db_config_path . "database.php";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user