summaryrefslogtreecommitdiffstats
path: root/glpi-downstream.php
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-downstream.php')
-rw-r--r--glpi-downstream.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/glpi-downstream.php b/glpi-downstream.php
new file mode 100644
index 0000000..3be9964
--- /dev/null
+++ b/glpi-downstream.php
@@ -0,0 +1,37 @@
+<?php
+/**
+ * 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');
+
+if (file_exists(GLPI_CONFIG_DIR . '/local_define.php')) {
+ require_once GLPI_CONFIG_DIR . '/local_define.php';
+}
+
+// Runtime Data
+defined('GLPI_VAR_DIR') or define('GLPI_VAR_DIR', '/var/lib/glpi/files');
+
+// 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');