summaryrefslogtreecommitdiffstats
path: root/glpi-bin.patch
blob: b9f8d56b6ecde120f4afb74ffb393623d170664d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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');