summaryrefslogtreecommitdiffstats
path: root/glpi-9.2-config_path_test.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-10-11 10:38:04 +0200
committerRemi Collet <remi@remirepo.net>2017-10-11 10:38:04 +0200
commit46a4d7ed34b4c3b64f341b00809d293a495e33a4 (patch)
tree72ca067eb93bce116fc3dc6ed7ad64affba6fee9 /glpi-9.2-config_path_test.php
parent1c2030a0ce92e3cc947b4e1f212631399e7ce435 (diff)
move config/config_path.php to inc/downstream.php
use /etc/glpi/local_define.php to allow local path change
Diffstat (limited to 'glpi-9.2-config_path_test.php')
-rw-r--r--glpi-9.2-config_path_test.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/glpi-9.2-config_path_test.php b/glpi-9.2-config_path_test.php
new file mode 100644
index 0000000..05c24f2
--- /dev/null
+++ b/glpi-9.2-config_path_test.php
@@ -0,0 +1,24 @@
+<?php
+// for Redhat/Fedora RPM buiding test suite
+
+// Runtime Data
+define('GLPI_DOC_DIR', __DIR__ . '/../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');
+
+// 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);