vendor_config.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. if (! defined('PHPMYADMIN')) {
  13. exit;
  14. }
  15. /**
  16. * Path to vendor autoload file. Useful when you want to
  17. * have have vendor dependencies somewhere else.
  18. */
  19. define('AUTOLOAD_FILE', './vendor/autoload.php');
  20. /**
  21. * Directory where cache files are stored.
  22. */
  23. define('TEMP_DIR', './tmp/');
  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', './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', './LICENSE');
  34. /**
  35. * Directory where SQL scripts to create/upgrade configuration storage reside.
  36. */
  37. define('SQL_DIR', './sql/');
  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', '');
  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', './locale/');
  64. /**
  65. * Avoid referring to nonexistent files (causes warnings when open_basedir
  66. * is used)
  67. */
  68. define('K_PATH_IMAGES', '');