summaryrefslogtreecommitdiffstats
path: root/glpi-9.1-config_path.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-26 08:12:51 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-26 08:12:51 +0200
commit028fe6fb36dd4a926845f663999294f69d283802 (patch)
tree3d35c288f6658115136cfa59d36660825cabfa08 /glpi-9.1-config_path.php
parenta8e6c0896b628f30510e04d626d32c35f12cf25f (diff)
glpi: rename
Diffstat (limited to 'glpi-9.1-config_path.php')
-rw-r--r--glpi-9.1-config_path.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/glpi-9.1-config_path.php b/glpi-9.1-config_path.php
new file mode 100644
index 0000000..37a3cd8
--- /dev/null
+++ b/glpi-9.1-config_path.php
@@ -0,0 +1,30 @@
+<?php
+// for Redhat/Fedora RPM defaults
+
+// Config
+define('GLPI_CONFIG_DIR', '/etc/glpi');
+
+// Runtime Data
+define('GLPI_DOC_DIR', '/var/lib/glpi/files');
+define('GLPI_CRON_DIR', GLPI_DOC_DIR . '/_cron');
+define('GLPI_DUMP_DIR', GLPI_DOC_DIR . '/_dumps');
+define('GLPI_GRAPH_DIR', GLPI_DOC_DIR . '/_graphs');
+define('GLPI_LOCK_DIR', GLPI_DOC_DIR . '/_lock');
+define('GLPI_PICTURE_DIR', GLPI_DOC_DIR . '/_pictures');
+define('GLPI_PLUGIN_DOC_DIR', GLPI_DOC_DIR . '/_plugins');
+define('GLPI_RSS_DIR', GLPI_DOC_DIR . '/_rss');
+define('GLPI_SESSION_DIR', GLPI_DOC_DIR . '/_sessions');
+define('GLPI_TMP_DIR', GLPI_DOC_DIR . '/_tmp');
+define('GLPI_UPLOAD_DIR', GLPI_DOC_DIR . '/_uploads');
+
+// Log
+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);