vendor_config.php 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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 distibutions 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 changelog file, can be gzip compressed. Useful when you want to
  17. * have documentation somewhere else, eg. /usr/share/doc.
  18. */
  19. define('CHANGELOG_FILE', './ChangeLog');
  20. /**
  21. * Path to license file. Useful when you want to have documentation somewhere
  22. * else, eg. /usr/share/doc.
  23. */
  24. define('LICENSE_FILE', './LICENSE');
  25. /**
  26. * Path to config file generated using setup script.
  27. */
  28. define('SETUP_CONFIG_FILE', './config/config.inc.php');
  29. /**
  30. * Whether setup requires writable directory where config
  31. * file will be generated.
  32. */
  33. define('SETUP_DIR_WRITABLE', true);
  34. /**
  35. * Directory where configuration files are stored.
  36. * It is not used directly in code, just a convenient
  37. * define used further in this file.
  38. */
  39. define('CONFIG_DIR', './');
  40. /**
  41. * Filename of a configuration file.
  42. */
  43. define('CONFIG_FILE', CONFIG_DIR . 'config.inc.php');
  44. /**
  45. * Filename of custom header file.
  46. */
  47. define('CUSTOM_HEADER_FILE', CONFIG_DIR . 'config.header.inc.php');
  48. /**
  49. * Filename of custom footer file.
  50. */
  51. define('CUSTOM_FOOTER_FILE', CONFIG_DIR . 'config.footer.inc.php');
  52. /**
  53. * Default value for check for version upgrades.
  54. */
  55. define('VERSION_CHECK_DEFAULT', true);
  56. /**
  57. * Path to gettext.inc file. Useful when you want php-gettext somewhere else,
  58. * eg. /usr/share/php/gettext/gettext.inc.
  59. */
  60. define('GETTEXT_INC', './libraries/php-gettext/gettext.inc');
  61. /**
  62. * Path to tcpdf.php file. Useful when you want to use system tcpdf,
  63. * eg. /usr/share/php/tcpdf/tcpdf.php.
  64. */
  65. define('TCPDF_INC', './libraries/tcpdf/tcpdf.php');
  66. /**
  67. * Path to the phpseclib. Useful when you want to use system phpseclib.
  68. */
  69. define('PHPSECLIB_INC_DIR', './libraries/phpseclib/');
  70. /**
  71. * Avoid referring to nonexistent files (causes warnings when open_basedir
  72. * is used)
  73. */
  74. define('K_PATH_IMAGES', '');
  75. ?>