Translated using Weblate (Slovenian)
[phpmyadmin.git] / libraries / vendor_config.php
blob9cae9f1ebe6cffe602c563797ffbf4fc04433fcd
1 <?php
2 /**
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.
8 */
9 declare(strict_types=1);
11 // phpcs:disable PSR1.Files.SideEffects
12 if (! defined('PHPMYADMIN')) {
13 exit;
15 // phpcs:enable
17 /**
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');
23 /**
24 * Directory where cache files are stored.
26 define('TEMP_DIR', ROOT_PATH . 'tmp/');
28 /**
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');
34 /**
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');
40 /**
41 * Directory where SQL scripts to create/upgrade configuration storage reside.
43 define('SQL_DIR', ROOT_PATH . 'sql/');
45 /**
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);
52 /**
53 * Filename of a configuration file.
55 define('CONFIG_FILE', CONFIG_DIR . 'config.inc.php');
57 /**
58 * Filename of custom header file.
60 define('CUSTOM_HEADER_FILE', CONFIG_DIR . 'config.header.inc.php');
62 /**
63 * Filename of custom footer file.
65 define('CUSTOM_FOOTER_FILE', CONFIG_DIR . 'config.footer.inc.php');
67 /**
68 * Default value for check for version upgrades.
70 define('VERSION_CHECK_DEFAULT', true);
72 /**
73 * Path to files with compiled locales (*.mo)
75 define('LOCALE_PATH', ROOT_PATH . 'locale/');
77 /**
78 * Avoid referring to nonexistent files (causes warnings when open_basedir
79 * is used)
81 define('K_PATH_IMAGES', ROOT_PATH);
83 /**
84 * Define the cache directory for routing cache an other cache files
86 define('CACHE_DIR', ROOT_PATH . 'libraries/cache/');