From 691f2980f0dd4d82cb0b2b43df81d7f19ff0cba7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Jun 2018 15:30:38 +0200 Subject: improve configuration to simply multi-glpi installation --- glpi-downstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glpi-downstream.php') diff --git a/glpi-downstream.php b/glpi-downstream.php index 3be9964..028f71e 100644 --- a/glpi-downstream.php +++ b/glpi-downstream.php @@ -12,7 +12,7 @@ // Config -define('GLPI_CONFIG_DIR', '/etc/glpi'); +define('GLPI_CONFIG_DIR', (getenv('GLPI_CONFIG_DIR') ?: '/etc/glpi')); if (file_exists(GLPI_CONFIG_DIR . '/local_define.php')) { require_once GLPI_CONFIG_DIR . '/local_define.php'; -- cgit