config.inc.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * phpMyAdmin sample configuration, you can use it as base for
  5. * manual configuration. For easier setup you can use setup/
  6. *
  7. * All directives are explained in documentation in the doc/ folder
  8. * or at <https://docs.phpmyadmin.net/>.
  9. *
  10. * @package PhpMyAdmin
  11. */
  12. /**
  13. * This is needed for cookie based authentication to encrypt password in
  14. * cookie. Needs to be 32 chars long.
  15. */
  16. $cfg['blowfish_secret'] = 'cmckGRrkfe9fre'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
  17. /**
  18. * Servers configuration
  19. */
  20. $i = 0;
  21. /**
  22. * First server
  23. */
  24. $i++;
  25. /* Authentication type */
  26. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  27. /* Server parameters */
  28. $cfg['Servers'][$i]['host'] = '127.0.0.1';
  29. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  30. $cfg['Servers'][$i]['compress'] = false;
  31. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  32. /**
  33. * phpMyAdmin configuration storage settings.
  34. */
  35. /* User used to manipulate with storage */
  36. // $cfg['Servers'][$i]['controlhost'] = '';
  37. // $cfg['Servers'][$i]['controlport'] = '';
  38. // $cfg['Servers'][$i]['controluser'] = 'pma';
  39. // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
  40. /* Storage database and tables */
  41. // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  42. // $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
  43. // $cfg['Servers'][$i]['relation'] = 'pma__relation';
  44. // $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
  45. // $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
  46. // $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
  47. // $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
  48. // $cfg['Servers'][$i]['history'] = 'pma__history';
  49. // $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
  50. // $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
  51. // $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
  52. // $cfg['Servers'][$i]['recent'] = 'pma__recent';
  53. // $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
  54. // $cfg['Servers'][$i]['users'] = 'pma__users';
  55. // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
  56. // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
  57. // $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
  58. // $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
  59. // $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
  60. // $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
  61. /**
  62. * End of servers configuration
  63. */
  64. /**
  65. * Directories for saving/loading files from server
  66. */
  67. $cfg['UploadDir'] = '';
  68. $cfg['SaveDir'] = '';
  69. /**
  70. * Whether to display icons or text or both icons and text in table row
  71. * action segment. Value can be either of 'icons', 'text' or 'both'.
  72. * default = 'both'
  73. */
  74. //$cfg['RowActionType'] = 'icons';
  75. /**
  76. * Defines whether a user should be displayed a "show all (records)"
  77. * button in browse mode or not.
  78. * default = false
  79. */
  80. //$cfg['ShowAll'] = true;
  81. /**
  82. * Number of rows displayed when browsing a result set. If the result
  83. * set contains more rows, "Previous" and "Next".
  84. * Possible values: 25, 50, 100, 250, 500
  85. * default = 25
  86. */
  87. //$cfg['MaxRows'] = 50;
  88. /**
  89. * Disallow editing of binary fields
  90. * valid values are:
  91. * false allow editing
  92. * 'blob' allow editing except for BLOB fields
  93. * 'noblob' disallow editing except for BLOB fields
  94. * 'all' disallow editing
  95. * default = 'blob'
  96. */
  97. //$cfg['ProtectBinary'] = false;
  98. /**
  99. * Default language to use, if not browser-defined or user-defined
  100. * (you find all languages in the locale folder)
  101. * uncomment the desired line:
  102. * default = 'en'
  103. */
  104. //$cfg['DefaultLang'] = 'en';
  105. //$cfg['DefaultLang'] = 'de';
  106. /**
  107. * How many columns should be used for table display of a database?
  108. * (a value larger than 1 results in some information being hidden)
  109. * default = 1
  110. */
  111. //$cfg['PropertiesNumColumns'] = 2;
  112. /**
  113. * Set to true if you want DB-based query history.If false, this utilizes
  114. * JS-routines to display query history (lost by window close)
  115. *
  116. * This requires configuration storage enabled, see above.
  117. * default = false
  118. */
  119. //$cfg['QueryHistoryDB'] = true;
  120. /**
  121. * When using DB-based query history, how many entries should be kept?
  122. * default = 25
  123. */
  124. //$cfg['QueryHistoryMax'] = 100;
  125. /**
  126. * Whether or not to query the user before sending the error report to
  127. * the phpMyAdmin team when a JavaScript error occurs
  128. *
  129. * Available options
  130. * ('ask' | 'always' | 'never')
  131. * default = 'ask'
  132. */
  133. //$cfg['SendErrorReports'] = 'always';
  134. /**
  135. * You can find more configuration options in the documentation
  136. * in the doc/ folder or at <https://docs.phpmyadmin.net/>.
  137. */