From 46a4d7ed34b4c3b64f341b00809d293a495e33a4 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 11 Oct 2017 10:38:04 +0200
Subject: move config/config_path.php to inc/downstream.php use
 /etc/glpi/local_define.php to allow local path change

---
 glpi-9.2-config_path.php | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 glpi-9.2-config_path.php

(limited to 'glpi-9.2-config_path.php')

diff --git a/glpi-9.2-config_path.php b/glpi-9.2-config_path.php
new file mode 100644
index 0000000..30d30a0
--- /dev/null
+++ b/glpi-9.2-config_path.php
@@ -0,0 +1,44 @@
+<?php
+/**
+ * Red Hat / Fedora RPM default configuration
+ *
+ * Modifying this file in-place is not recommended, because
+ * changes will be overwritten during package upgrades.
+ *
+ * If you want to customize the behaviour, the best way is to
+ * create and use the /etc/glpi/local_define.php file.
+ *
+**/
+
+
+// Config
+define('GLPI_CONFIG_DIR',     '/etc/glpi');
+
+// Runtime Data
+defined('GLPI_VAR_DIR')        or define('GLPI_VAR_DIR',        '/var/lib/glpi/files');
+defined('GLPI_DOC_DIR')        or define('GLPI_DOC_DIR',        GLPI_VAR_DIR);
+defined('GLPI_CRON_DIR')       or define('GLPI_CRON_DIR',       GLPI_VAR_DIR . '/_cron');
+defined('GLPI_DUMP_DIR')       or define('GLPI_DUMP_DIR',       GLPI_VAR_DIR . '/_dumps');
+defined('GLPI_GRAPH_DIR')      or define('GLPI_GRAPH_DIR',      GLPI_VAR_DIR . '/_graphs');
+defined('GLPI_LOCK_DIR')       or define('GLPI_LOCK_DIR',       GLPI_VAR_DIR . '/_lock');
+defined('GLPI_PICTURE_DIR')    or define('GLPI_PICTURE_DIR',    GLPI_VAR_DIR . '/_pictures');
+defined('GLPI_PLUGIN_DOC_DIR') or define('GLPI_PLUGIN_DOC_DIR', GLPI_VAR_DIR . '/_plugins');
+defined('GLPI_RSS_DIR')        or define('GLPI_RSS_DIR',        GLPI_VAR_DIR . '/_rss');
+defined('GLPI_SESSION_DIR')    or define('GLPI_SESSION_DIR',    GLPI_VAR_DIR . '/_sessions');
+defined('GLPI_TMP_DIR')        or define('GLPI_TMP_DIR',        GLPI_VAR_DIR . '/_tmp');
+defined('GLPI_UPLOAD_DIR')     or define('GLPI_UPLOAD_DIR',     GLPI_VAR_DIR . '/_uploads');
+
+// Log
+defined('GLPI_LOG_DIR')        or define('GLPI_LOG_DIR',        '/var/log/glpi');
+
+// System libraries
+define('GLPI_HTMLAWED',       '/usr/share/php/htmLawed/htmLawed.php');
+
+// Fonts
+define('GLPI_FONT_FREESANS',  '/usr/share/fonts/gnu-free/FreeSans.ttf');
+
+// Use system cron
+define('GLPI_SYSTEM_CRON', true);
+
+// Packaging
+define('GLPI_INSTALL_MODE', 'RPM');
-- 
cgit