vendor_config.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * File for vendor customisation, you can change here paths or some behaviour,
  5. * which vendors such as Linux distributions might want to change.
  6. *
  7. * For changing this file you should know what you are doing. For this reason
  8. * options here are not part of normal configuration.
  9. *
  10. * @package PhpMyAdmin
  11. */
  12. declare(strict_types=1);
  13. if (! defined('PHPMYADMIN')) {
  14. exit;
  15. }
  16. /**
  17. * Path to vendor autoload file. Useful when you want to
  18. * have have vendor dependencies somewhere else.
  19. */
  20. define('AUTOLOAD_FILE', ROOT_PATH . 'vendor/autoload.php');
  21. /**
  22. * Directory where cache files are stored.
  23. */
  24. define('TEMP_DIR', ROOT_PATH . 'tmp/');
  25. /**
  26. * Path to changelog file, can be gzip compressed. Useful when you want to
  27. * have documentation somewhere else, eg. /usr/share/doc.
  28. */
  29. define('CHANGELOG_FILE', ROOT_PATH . 'ChangeLog');
  30. /**
  31. * Path to license file. Useful when you want to have documentation somewhere
  32. * else, eg. /usr/share/doc.
  33. */
  34. define('LICENSE_FILE', ROOT_PATH . 'LICENSE');
  35. /**
  36. * Directory where SQL scripts to create/upgrade configuration storage reside.
  37. */
  38. define('SQL_DIR', ROOT_PATH . 'sql/');
  39. /**
  40. * Directory where configuration files are stored.
  41. * It is not used directly in code, just a convenient
  42. * define used further in this file.
  43. */
  44. define('CONFIG_DIR', ROOT_PATH);
  45. /**
  46. * Filename of a configuration file.
  47. */
  48. define('CONFIG_FILE', CONFIG_DIR . 'config.inc.php');
  49. /**
  50. * Filename of custom header file.
  51. */
  52. define('CUSTOM_HEADER_FILE', CONFIG_DIR . 'config.header.inc.php');
  53. /**
  54. * Filename of custom footer file.
  55. */
  56. define('CUSTOM_FOOTER_FILE', CONFIG_DIR . 'config.footer.inc.php');
  57. /**
  58. * Default value for check for version upgrades.
  59. */
  60. define('VERSION_CHECK_DEFAULT', true);
  61. /**
  62. * Path to files with compiled locales (*.mo)
  63. */
  64. define('LOCALE_PATH', ROOT_PATH . 'locale/');
  65. /**
  66. * Avoid referring to nonexistent files (causes warnings when open_basedir
  67. * is used)
  68. */
  69. define('K_PATH_IMAGES', ROOT_PATH);