summaryrefslogtreecommitdiffstats
path: root/glpi-bin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-bin.patch')
-rw-r--r--glpi-bin.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/glpi-bin.patch b/glpi-bin.patch
new file mode 100644
index 0000000..b9f8d56
--- /dev/null
+++ b/glpi-bin.patch
@@ -0,0 +1,13 @@
+diff --git a/bin/console b/bin/console
+index 890b18812..0152dcc4d 100755
+--- a/bin/console
++++ b/bin/console
+@@ -59,7 +59,7 @@ if (array_key_exists('config-dir', $options)) {
+
+
+ // Init GLPI
+-define('GLPI_ROOT', dirname(__DIR__));
++define('GLPI_ROOT', '/usr/share/glpi');
+
+ include_once(GLPI_ROOT . '/inc/based_config.php');
+ include_once(GLPI_ROOT . '/inc/db.function.php');