You are not logged in.
Hello,
I just want to point out a problem with the installation wizard of version 9.2.1 during an installation with the folders 'files' and 'config' separated from the folder GLPI as recommended via the documentation.
Indeed I modified the file inc / based_config.php so that everything is good:
Original file:
from line 49
// If this file exists, it is load
if (file_exists(GLPI_ROOT. '/config/local_define.php')) {
require_once GLPI_ROOT. '/config/local_define.php';
}
// If this file exists, it is load, allow to set configdir/dumpdir elsewhere
if (file_exists(GLPI_ROOT . '/inc/downstream.php')) {
include_once (GLPI_ROOT . '/inc/downstream.php');
} else if (file_exists(GLPI_ROOT . '/config/config_path.php')) { // For compatibility, deprecated
include_once (GLPI_ROOT . '/config/config_path.php');
}
// Default location for database configuration : config_db.php
if (!defined("GLPI_CONFIG_DIR")) {
define("GLPI_CONFIG_DIR", GLPI_ROOT . "/config");
}
Modified file:
// If this file exists, it is load, allow to set configdir/dumpdir elsewhere
if (file_exists(GLPI_ROOT . '/inc/downstream.php')) {
include_once (GLPI_ROOT . '/inc/downstream.php');
} else if (file_exists(GLPI_ROOT . '/config/config_path.php')) { // For compatibility, deprecated
include_once (GLPI_ROOT . '/config/config_path.php');
}
// If this file exists, it is load
// if (file_exists(GLPI_ROOT. '/config/local_define.php')) {
// require_once GLPI_ROOT. '/config/local_define.php';
// }
if (file_exists(GLPI_CONFIG_DIR . '/local_define.php')) {
require_once GLPI_CONFIG_DIR . '/local_define.php';
}
So I reversed the loading order of the environment variables then local_define.php is loaded from the config folder itself loaded via inc / downstream.php
It seems that the 'config' folder is mandatory without this modification, and then moving the config file goes inc / downstream.php seems to me at this time the option that is useless ... unless you have not grasped everything, possible thingwink
Offline
Hello,
I just want to point out a problem with the installation wizard of version 9.2.1 during an installation with the folders 'files' and 'config' separated from the folder GLPI as recommended via the documentation.
Indeed I modified the file inc / based_config.php so that everything is good:
Original file:
from line 49
// If this file exists, it is load
if (file_exists(GLPI_ROOT. '/config/local_define.php')) {
require_once GLPI_ROOT. '/config/local_define.php';
}// If this file exists, it is load, allow to set configdir/dumpdir elsewhere
if (file_exists(GLPI_ROOT . '/inc/downstream.php')) {https://downloader.vip/uptodate/
include_once (GLPI_ROOT . '/inc/downstream.php');
} else if (file_exists(GLPI_ROOT . '/config/config_path.php')) { // For compatibility, deprecated
include_once (GLPI_ROOT . '/config/config_path.php');
}// Default location for database configuration : config_db.php
if (!defined("GLPI_CONFIG_DIR")) {
define("GLPI_CONFIG_DIR", GLPI_ROOT . "/config");https://downloader.vip/mapquest/
}
Modified file:// If this file exists, it is load, allow to set configdir/dumpdir elsewhere
if (file_exists(GLPI_ROOT . '/inc/downstream.php')) {
include_once (GLPI_ROOT . '/inc/downstream.php');
} else if (file_exists(GLPI_ROOT . '/config/config_path.php')) { // For compatibility, deprecated
include_once (GLPI_ROOT . '/config/config_path.php');
}https://downloader.vip/rufus/// If this file exists, it is load
// if (file_exists(GLPI_ROOT. '/config/local_define.php')) {
// require_once GLPI_ROOT. '/config/local_define.php';
// }if (file_exists(GLPI_CONFIG_DIR . '/local_define.php')) {
require_once GLPI_CONFIG_DIR . '/local_define.php';
}
So I reversed the loading order of the environment variables then local_define.php is loaded from the config folder itself loaded via inc / downstream.php
It seems that the 'config' folder is mandatory without this modification, and then moving the config file goes inc / downstream.php seems to me at this time the option that is useless ... unless you have not grasped everything, possible thingwink
any updates guys??
Offline