Prepare for version 5.1.3
[phpmyadmin.git] / libraries / vendor_config.php
blobd3d77be71b343961142aee79880453faf1c883ec
1 <?php
2 /**
3 * File for vendor customization, 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 */
10 declare(strict_types=1);
12 // phpcs:disable PSR1.Files.SideEffects
13 if (! defined('PHPMYADMIN')) {
14 exit;
16 // phpcs:enable
18 /**
19 * Path to vendor autoload file. Useful when you want to
20 * have have vendor dependencies somewhere else.
22 define('AUTOLOAD_FILE', ROOT_PATH . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
24 /**
25 * Directory where cache files are stored.
27 define('TEMP_DIR', ROOT_PATH . 'tmp' . DIRECTORY_SEPARATOR);
29 /**
30 * Path to changelog file, can be gzip compressed. Useful when you want to
31 * have documentation somewhere else, eg. /usr/share/doc.
33 define('CHANGELOG_FILE', ROOT_PATH . 'ChangeLog');
35 /**
36 * Path to license file. Useful when you want to have documentation somewhere
37 * else, eg. /usr/share/doc.
39 define('LICENSE_FILE', ROOT_PATH . 'LICENSE');
41 /**
42 * Directory where SQL scripts to create/upgrade configuration storage reside.
44 define('SQL_DIR', ROOT_PATH . 'sql' . DIRECTORY_SEPARATOR);
46 /**
47 * Directory where configuration files are stored.
48 * It is not used directly in code, just a convenient
49 * define used further in this file.
51 define('CONFIG_DIR', ROOT_PATH);
53 /**
54 * Filename of a configuration file.
56 define('CONFIG_FILE', CONFIG_DIR . 'config.inc.php');
58 /**
59 * Filename of custom header file.
61 define('CUSTOM_HEADER_FILE', CONFIG_DIR . 'config.header.inc.php');
63 /**
64 * Filename of custom footer file.
66 define('CUSTOM_FOOTER_FILE', CONFIG_DIR . 'config.footer.inc.php');
68 /**
69 * Default value for check for version upgrades.
71 define('VERSION_CHECK_DEFAULT', true);
73 /**
74 * Path to files with compiled locales (*.mo)
76 define('LOCALE_PATH', ROOT_PATH . 'locale' . DIRECTORY_SEPARATOR);
78 /**
79 * Define the cache directory for routing cache an other cache files
81 define('CACHE_DIR', ROOT_PATH . 'libraries' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR);
83 /**
84 * Suffix to add to the phpMyAdmin version
86 define('VERSION_SUFFIX', '');