vendor_config.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.
  5. *
  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);
  10. // phpcs:disable PSR1.Files.SideEffects
  11. if (! defined('PHPMYADMIN')) {
  12. exit;
  13. }
  14. // phpcs:enable
  15. /**
  16. * Path to vendor autoload file. Useful when you want to
  17. * have have vendor dependencies somewhere else.
  18. */
  19. define('AUTOLOAD_FILE', ROOT_PATH . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
  20. /**
  21. * Directory where cache files are stored.
  22. */
  23. define('TEMP_DIR', ROOT_PATH . 'tmp' . DIRECTORY_SEPARATOR);
  24. /**
  25. * Path to changelog file, can be gzip compressed. Useful when you want to
  26. * have documentation somewhere else, eg. /usr/share/doc.
  27. */
  28. define('CHANGELOG_FILE', ROOT_PATH . 'ChangeLog');
  29. /**
  30. * Path to license file. Useful when you want to have documentation somewhere
  31. * else, eg. /usr/share/doc.
  32. */
  33. define('LICENSE_FILE', ROOT_PATH . 'LICENSE');
  34. /**
  35. * Directory where SQL scripts to create/upgrade configuration storage reside.
  36. */
  37. define('SQL_DIR', ROOT_PATH . 'sql' . DIRECTORY_SEPARATOR);
  38. /**
  39. * Directory where configuration files are stored.
  40. * It is not used directly in code, just a convenient
  41. * define used further in this file.
  42. */
  43. define('CONFIG_DIR', ROOT_PATH);
  44. /**
  45. * Filename of a configuration file.
  46. */
  47. define('CONFIG_FILE', CONFIG_DIR . 'config.inc.php');
  48. /**
  49. * Filename of custom header file.
  50. */
  51. define('CUSTOM_HEADER_FILE', CONFIG_DIR . 'config.header.inc.php');
  52. /**
  53. * Filename of custom footer file.
  54. */
  55. define('CUSTOM_FOOTER_FILE', CONFIG_DIR . 'config.footer.inc.php');
  56. /**
  57. * Default value for check for version upgrades.
  58. */
  59. define('VERSION_CHECK_DEFAULT', true);
  60. /**
  61. * Path to files with compiled locales (*.mo)
  62. */
  63. define('LOCALE_PATH', ROOT_PATH . 'locale' . DIRECTORY_SEPARATOR);
  64. /**
  65. * Define the cache directory for routing cache an other cache files
  66. */
  67. define('CACHE_DIR', ROOT_PATH . 'libraries' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR);
  68. /**
  69. * Suffix to add to the phpMyAdmin version
  70. */
  71. define('VERSION_SUFFIX', '');