summaryrefslogtreecommitdiffstats
path: root/glpi-downstream.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-20 15:30:38 +0200
committerRemi Collet <remi@remirepo.net>2018-06-20 15:30:38 +0200
commit691f2980f0dd4d82cb0b2b43df81d7f19ff0cba7 (patch)
treeb1ee059f3395b48a11b90a70e07df2956cf8aea6 /glpi-downstream.php
parentd78477811983bd2ca606586ade686cb950f44e77 (diff)
improve configuration to simply multi-glpi installation
Diffstat (limited to 'glpi-downstream.php')
-rw-r--r--glpi-downstream.php2
1 files changed, 1 insertions, 1 deletions
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';