summaryrefslogtreecommitdiffstats
path: root/glpi-9.2-config_path.php
blob: 5c0e672909b15f5e33c9ea3850c1e43c92b53e76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?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');
defined('GLPI_CACHE_DIR')      or define('GLPI_CACHE_DIR',      GLPI_VAR_DIR . '/_cache');

// 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');