3 * File for vendor customisation, you can change here paths or some behaviour,
4 * which vendors such as Linux distributions might want to change.
6 * For changing this file you should know what you are doing. For this reason
7 * options here are not part of normal configuration.
9 declare(strict_types
=1);
11 // phpcs:disable PSR1.Files.SideEffects
12 if (! defined('PHPMYADMIN')) {
18 * Path to vendor autoload file. Useful when you want to
19 * have have vendor dependencies somewhere else.
21 define('AUTOLOAD_FILE', ROOT_PATH
. 'vendor/autoload.php');
24 * Directory where cache files are stored.
26 define('TEMP_DIR', ROOT_PATH
. 'tmp/');
29 * Path to changelog file, can be gzip compressed. Useful when you want to
30 * have documentation somewhere else, eg. /usr/share/doc.
32 define('CHANGELOG_FILE', ROOT_PATH
. 'ChangeLog');
35 * Path to license file. Useful when you want to have documentation somewhere
36 * else, eg. /usr/share/doc.
38 define('LICENSE_FILE', ROOT_PATH
. 'LICENSE');
41 * Directory where SQL scripts to create/upgrade configuration storage reside.
43 define('SQL_DIR', ROOT_PATH
. 'sql/');
46 * Directory where configuration files are stored.
47 * It is not used directly in code, just a convenient
48 * define used further in this file.
50 define('CONFIG_DIR', ROOT_PATH
);
53 * Filename of a configuration file.
55 define('CONFIG_FILE', CONFIG_DIR
. 'config.inc.php');
58 * Filename of custom header file.
60 define('CUSTOM_HEADER_FILE', CONFIG_DIR
. 'config.header.inc.php');
63 * Filename of custom footer file.
65 define('CUSTOM_FOOTER_FILE', CONFIG_DIR
. 'config.footer.inc.php');
68 * Default value for check for version upgrades.
70 define('VERSION_CHECK_DEFAULT', true);
73 * Path to files with compiled locales (*.mo)
75 define('LOCALE_PATH', ROOT_PATH
. 'locale/');
78 * Avoid referring to nonexistent files (causes warnings when open_basedir
81 define('K_PATH_IMAGES', ROOT_PATH
);
84 * Define the cache directory for routing cache an other cache files
86 define('CACHE_DIR', ROOT_PATH
. 'libraries/cache/');