summaryrefslogtreecommitdiffstats
path: root/glpi-downstream.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-14 14:03:56 +0200
committerRemi Collet <remi@remirepo.net>2018-06-14 14:03:56 +0200
commite42ffe560f69c604c96e8b9bd254019cbd957240 (patch)
tree8bc4f96e5f057b88bffddb3387c781e6fb504034 /glpi-downstream.php
parent8f018e855c41c5647091ccde51d45f23d30240ee (diff)
test build for pr #4178
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');