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');