PageRenderTime 44ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 1ms

/phpMyAdmin/libraries/config.default.php

https://bitbucket.org/izubizarreta/https-bitbucket.org-bityvip
PHP | 2925 lines | 516 code | 389 blank | 2020 comment | 1 complexity | a2ee2a7a032433bb8ccb929e0c8f968d MD5 | raw file
Possible License(s): LGPL-3.0, LGPL-2.0, JSON, GPL-2.0, BSD-3-Clause, LGPL-2.1, MIT

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * <code>
  5. * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
  6. * NN N O O !! D D O O NN N O O T E D D I T !!
  7. * N N N O O !! D D O O N N N O O T EEEE D D I T !!
  8. * N NN O O D D O O N NN O O T E D D I T
  9. * N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !!
  10. * </code>
  11. *
  12. * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
  13. *
  14. * phpMyAdmin default configuration, you can copy values from here to your
  15. * config.inc.php
  16. *
  17. * All directives are explained in Documentation.html
  18. *
  19. * @package PhpMyAdmin
  20. */
  21. /**
  22. * Your phpMyAdmin URL.
  23. *
  24. * Complete the variable below with the full URL ie
  25. * http://www.your_web.net/path_to_your_phpMyAdmin_directory/
  26. *
  27. * It must contain characters that are valid for a URL, and the path is
  28. * case sensitive on some Web servers, for example Unix-based servers.
  29. *
  30. * In most cases you can leave this variable empty, as the correct value
  31. * will be detected automatically. However, we recommend that you do
  32. * test to see that the auto-detection code works in your system. A good
  33. * test is to browse a table, then edit a row and save it. There will be
  34. * an error message if phpMyAdmin cannot auto-detect the correct value.
  35. *
  36. * @global string $cfg['PmaAbsoluteUri']
  37. */
  38. $cfg['PmaAbsoluteUri'] = '';
  39. /**
  40. * Disable the default warning that is displayed on the DB Details Structure page if
  41. * any of the required Tables for the configuration storage could not be found
  42. *
  43. * @global boolean $cfg['PmaNoRelation_DisableWarning']
  44. */
  45. $cfg['PmaNoRelation_DisableWarning'] = false;
  46. /**
  47. * Disable the default warning that is displayed if Suhosin is detected
  48. *
  49. * @global boolean $cfg['SuhosinDisableWarning']
  50. */
  51. $cfg['SuhosinDisableWarning'] = false;
  52. /**
  53. * Disable the default warning that is displayed if mcrypt is missing for
  54. * cookie authentication.
  55. *
  56. * @global boolean $cfg['McryptDisableWarning']
  57. */
  58. $cfg['McryptDisableWarning'] = false;
  59. /**
  60. * Show warning about incomplete translations on certain threshold.
  61. *
  62. * @global boolean $cfg['TranslationWarningThreshold']
  63. */
  64. $cfg['TranslationWarningThreshold'] = 80;
  65. /**
  66. * Allows phpMyAdmin to be included from a document located on
  67. * another domain; setting this to true is a potential security hole
  68. *
  69. * @global boolean $cfg['AllowThirdPartyFraming']
  70. */
  71. $cfg['AllowThirdPartyFraming'] = false;
  72. /**
  73. * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
  74. * at least one server configuration uses 'cookie' auth_type, enter here a
  75. * pass phrase that will be used by blowfish. The maximum length seems to be 46
  76. * characters.
  77. *
  78. * @global string $cfg['blowfish_secret']
  79. */
  80. $cfg['blowfish_secret'] = '';
  81. /*******************************************************************************
  82. * Server(s) configuration
  83. *
  84. * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
  85. * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
  86. * to ''. If you want more than one server, just copy following section
  87. * (including $i incrementation) several times. There is no need to define
  88. * full server array, just define values you need to change.
  89. *
  90. * @global array $cfg['Servers']
  91. */
  92. $cfg['Servers'] = array();
  93. $i = 1;
  94. /**
  95. * MySQL hostname or IP address
  96. *
  97. * @global string $cfg['Servers'][$i]['host']
  98. */
  99. $cfg['Servers'][$i]['host'] = 'localhost';
  100. /**
  101. * MySQL port - leave blank for default port
  102. *
  103. * @global string $cfg['Servers'][$i]['port']
  104. */
  105. $cfg['Servers'][$i]['port'] = '';
  106. /**
  107. * Path to the socket - leave blank for default socket
  108. *
  109. * @global string $cfg['Servers'][$i]['socket']
  110. */
  111. $cfg['Servers'][$i]['socket'] = '';
  112. /**
  113. * Use SSL for connecting to MySQL server?
  114. *
  115. * @global boolean $cfg['Servers'][$i]['ssl']
  116. */
  117. $cfg['Servers'][$i]['ssl'] = false;
  118. /**
  119. * How to connect to MySQL server ('tcp' or 'socket')
  120. *
  121. * @global string $cfg['Servers'][$i]['connect_type']
  122. */
  123. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  124. /**
  125. * The PHP MySQL extension to use ('mysql' or 'mysqli')
  126. *
  127. * @global string $cfg['Servers'][$i]['extension']
  128. */
  129. $cfg['Servers'][$i]['extension'] = 'mysqli';
  130. /**
  131. * Use compressed protocol for the MySQL connection
  132. *
  133. * @global boolean $cfg['Servers'][$i]['compress']
  134. */
  135. $cfg['Servers'][$i]['compress'] = false;
  136. /**
  137. * MySQL control host. This permits to use a host different than the
  138. * main host, for the phpMyAdmin configuration storage. If left empty,
  139. * $cfg['Servers'][$i]['host'] is used instead.
  140. *
  141. * @global string $cfg['Servers'][$i]['controlhost']
  142. */
  143. $cfg['Servers'][$i]['controlhost'] = '';
  144. /**
  145. * MySQL control user settings (this user must have read-only
  146. * access to the "mysql/user" and "mysql/db" tables). The controluser is also
  147. * used for all relational features (pmadb)
  148. *
  149. * @global string $cfg['Servers'][$i]['controluser']
  150. */
  151. $cfg['Servers'][$i]['controluser'] = '';
  152. /**
  153. * MySQL control user settings (this user must have read-only
  154. * access to the "mysql/user" and "mysql/db" tables). The controluser is also
  155. * used for all relational features (pmadb)
  156. *
  157. * @global string $cfg['Servers'][$i]['controlpass']
  158. */
  159. $cfg['Servers'][$i]['controlpass'] = '';
  160. /**
  161. * Authentication method (valid choices: config, http, signon or cookie)
  162. *
  163. * @global string $cfg['Servers'][$i]['auth_type']
  164. */
  165. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  166. /**
  167. * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
  168. *
  169. * @global string $cfg['Servers'][$i]['auth_http_realm']
  170. */
  171. $cfg['Servers'][$i]['auth_http_realm'] = '';
  172. /**
  173. * File containing Swekey ids and login names (see /contrib);
  174. * leave empty to deactivate Swekey hardware authentication
  175. *
  176. * @global string $cfg['Servers'][$i]['auth_swekey_config']
  177. */
  178. $cfg['Servers'][$i]['auth_swekey_config'] = '';
  179. /**
  180. * MySQL user
  181. *
  182. * @global string $cfg['Servers'][$i]['user']
  183. */
  184. $cfg['Servers'][$i]['user'] = 'root';
  185. /**
  186. * MySQL password (only needed with 'config' auth_type)
  187. *
  188. * @global string $cfg['Servers'][$i]['password']
  189. */
  190. $cfg['Servers'][$i]['password'] = '';
  191. /**
  192. * Session to use for 'signon' authentication method
  193. *
  194. * @global string $cfg['Servers'][$i]['SignonSession']
  195. */
  196. $cfg['Servers'][$i]['SignonSession'] = '';
  197. /**
  198. * PHP script to use for 'signon' authentication method
  199. *
  200. * @global string $cfg['Servers'][$i]['SignonScript']
  201. */
  202. $cfg['Servers'][$i]['SignonScript'] = '';
  203. /**
  204. * URL where to redirect user to login for 'signon' authentication method
  205. *
  206. * @global string $cfg['Servers'][$i]['SignonURL']
  207. */
  208. $cfg['Servers'][$i]['SignonURL'] = '';
  209. /**
  210. * URL where to redirect user after logout
  211. *
  212. * @global string $cfg['Servers'][$i]['LogoutURL']
  213. */
  214. $cfg['Servers'][$i]['LogoutURL'] = '';
  215. /**
  216. * Whether to try to connect without password
  217. *
  218. * @global boolean $cfg['Servers'][$i]['nopassword']
  219. */
  220. $cfg['Servers'][$i]['nopassword'] = false;
  221. /**
  222. * If set to a db-name, only this db is displayed in left frame
  223. * It may also be an array of db-names, where sorting order is relevant.
  224. *
  225. * @global string $cfg['Servers'][$i]['only_db']
  226. */
  227. $cfg['Servers'][$i]['only_db'] = '';
  228. /**
  229. * Database name to be hidden from listings
  230. *
  231. * @global string $cfg['Servers'][$i]['hide_db']
  232. */
  233. $cfg['Servers'][$i]['hide_db'] = '';
  234. /**
  235. * Verbose name for this host - leave blank to show the hostname
  236. * (for HTTP authentication, all non-US-ASCII characters will be stripped)
  237. *
  238. * @global string $cfg['Servers'][$i]['verbose']
  239. */
  240. $cfg['Servers'][$i]['verbose'] = '';
  241. /**
  242. * Database used for Relation, Bookmark and PDF Features
  243. * (see examples/create_tables.sql)
  244. * - leave blank for no support
  245. * SUGGESTED: 'phpmyadmin'
  246. *
  247. * @global string $cfg['Servers'][$i]['pmadb']
  248. */
  249. $cfg['Servers'][$i]['pmadb'] = '';
  250. /**
  251. * Bookmark table
  252. * - leave blank for no bookmark support
  253. * SUGGESTED: 'pma_bookmark'
  254. *
  255. * @global string $cfg['Servers'][$i]['bookmarktable']
  256. */
  257. $cfg['Servers'][$i]['bookmarktable'] = '';
  258. /**
  259. * table to describe the relation between links (see doc)
  260. * - leave blank for no relation-links support
  261. * SUGGESTED: 'pma_relation'
  262. *
  263. * @global string $cfg['Servers'][$i]['relation']
  264. */
  265. $cfg['Servers'][$i]['relation'] = '';
  266. /**
  267. * table to describe the display fields
  268. * - leave blank for no display fields support
  269. * SUGGESTED: 'pma_table_info'
  270. *
  271. * @global string $cfg['Servers'][$i]['table_info']
  272. */
  273. $cfg['Servers'][$i]['table_info'] = '';
  274. /**
  275. * table to describe the tables position for the PDF schema
  276. * - leave blank for no PDF schema support
  277. * SUGGESTED: 'pma_table_coords'
  278. *
  279. * @global string $cfg['Servers'][$i]['table_coords']
  280. */
  281. $cfg['Servers'][$i]['table_coords'] = '';
  282. /**
  283. * table to describe pages of relationpdf
  284. * - leave blank if you don't want to use this
  285. * SUGGESTED: 'pma_pdf_pages'
  286. *
  287. * @global string $cfg['Servers'][$i]['pdf_pages']
  288. */
  289. $cfg['Servers'][$i]['pdf_pages'] = '';
  290. /**
  291. * table to store column information
  292. * - leave blank for no column comments/mime types
  293. * SUGGESTED: 'pma_column_info'
  294. *
  295. * @global string $cfg['Servers'][$i]['column_info']
  296. */
  297. $cfg['Servers'][$i]['column_info'] = '';
  298. /**
  299. * table to store SQL history
  300. * - leave blank for no SQL query history
  301. * SUGGESTED: 'pma_history'
  302. *
  303. * @global string $cfg['Servers'][$i]['history']
  304. */
  305. $cfg['Servers'][$i]['history'] = '';
  306. /**
  307. * table to store the coordinates for Designer
  308. * - leave blank for no Designer feature
  309. * SUGGESTED: 'pma_designer_coords'
  310. *
  311. * @global string $cfg['Servers'][$i]['designer_coords']
  312. */
  313. $cfg['Servers'][$i]['designer_coords'] = '';
  314. /**
  315. * table to store recently used tables
  316. * - leave blank for no "persistent" recently used tables
  317. * SUGGESTED: 'pma_recent'
  318. */
  319. $cfg['Servers'][$i]['recent'] = '';
  320. /**
  321. * table to store UI preferences for tables
  322. * - leave blank for no "persistent" UI preferences
  323. * SUGGESTED: 'pma_table_uiprefs'
  324. */
  325. $cfg['Servers'][$i]['table_uiprefs'] = '';
  326. /**
  327. * table to store SQL tracking
  328. * - leave blank for no SQL tracking
  329. * SUGGESTED: 'pma_tracking'
  330. *
  331. * @global string $cfg['Servers'][$i]['tracking']
  332. */
  333. $cfg['Servers'][$i]['tracking'] = '';
  334. /**
  335. * table to store user preferences
  336. * - leave blank to disable server storage
  337. * SUGGESTED: 'pma_userconfig'
  338. *
  339. * @global string $cfg['Servers'][$i]['userconfig']
  340. */
  341. $cfg['Servers'][$i]['userconfig'] = '';
  342. /**
  343. * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
  344. *
  345. * In case where tables in databases is modified (e.g. dropped or renamed),
  346. * table_uiprefs may contains invalid data (referring to tables which are not
  347. * exist anymore).
  348. * This configuration make sure that we only keep N (N = MaxTableUiprefs)
  349. * newest record in table_uiprefs and automatically delete older records.
  350. *
  351. * @global integer $cfg['Servers'][$i]['userconfig'] = '';
  352. */
  353. $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
  354. /**
  355. * set to false if you know that your pma_* tables are up to date.
  356. * This prevents compatibility checks and thereby increases performance.
  357. *
  358. * @global boolean $cfg['Servers'][$i]['verbose_check']
  359. */
  360. $cfg['Servers'][$i]['verbose_check'] = true;
  361. /**
  362. * whether to allow root login
  363. *
  364. * @global boolean $cfg['Servers'][$i]['AllowRoot']
  365. */
  366. $cfg['Servers'][$i]['AllowRoot'] = true;
  367. /**
  368. * whether to allow login of any user without a password
  369. *
  370. * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
  371. */
  372. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  373. /**
  374. * Host authentication order, leave blank to not use
  375. *
  376. * @global string $cfg['Servers'][$i]['AllowDeny']['order']
  377. */
  378. $cfg['Servers'][$i]['AllowDeny']['order'] = '';
  379. /**
  380. * Host authentication rules, leave blank for defaults
  381. *
  382. * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
  383. */
  384. $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
  385. /**
  386. * Disable use of INFORMATION_SCHEMA. Is always 'true' for Drizzle.
  387. *
  388. * @see http://sf.net/support/tracker.php?aid=1849494
  389. * @see http://bugs.mysql.com/19588
  390. * @global boolean $cfg['Servers'][$i]['DisableIS']
  391. */
  392. $cfg['Servers'][$i]['DisableIS'] = true;
  393. /**
  394. * SQL command to fetch available databases
  395. *
  396. * by default most user will be fine with SHOW DATABASES,
  397. * for servers with a huge amount of databases it is possible to
  398. * define a command which executes faster but with less information
  399. *
  400. * especially when accessing database servers from ISPs changing this command
  401. * can result in a great speed improvement
  402. *
  403. * false will disable fetching databases from the server, only databases in
  404. * $cfg['Servers'][$i]['only_db'] will be displayed
  405. *
  406. * #user# will be replaced by current user
  407. *
  408. * examples:
  409. * 'SHOW DATABASES'
  410. * "SHOW DATABASES LIKE '#user#\_%'"
  411. * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
  412. * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
  413. * false
  414. *
  415. * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
  416. */
  417. $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
  418. /**
  419. * Whether to count tables when showing database list
  420. *
  421. * @global array $cfg['Servers'][$i]['CountTables']
  422. */
  423. $cfg['Servers'][$i]['CountTables'] = false;
  424. /**
  425. * Whether the tracking mechanism creates versions for tables and views automatically.
  426. *
  427. * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
  428. */
  429. $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
  430. /**
  431. * Defines the list of statements the auto-creation uses for new versions.
  432. *
  433. * @global string $cfg['Servers'][$i]['tracking_default_statements']
  434. */
  435. $cfg['Servers'][$i]['tracking_default_statements'] = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,' .
  436. 'CREATE INDEX,DROP INDEX,' .
  437. 'INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,' .
  438. 'CREATE VIEW,ALTER VIEW,DROP VIEW,' .
  439. 'CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
  440. /**
  441. * Whether a DROP VIEW IF EXISTS statement will be added as first line to the log when creating a view.
  442. *
  443. * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
  444. */
  445. $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
  446. /**
  447. * Whether a DROP TABLE IF EXISTS statement will be added as first line to the log when creating a table.
  448. *
  449. * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
  450. */
  451. $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
  452. /**
  453. * Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.
  454. *
  455. * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
  456. */
  457. $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
  458. /**
  459. * Default server (0 = no default server)
  460. *
  461. * If you have more than one server configured, you can set $cfg['ServerDefault']
  462. * to any one of them to auto-connect to that server when phpMyAdmin is started,
  463. * or set it to 0 to be given a list of servers without logging in
  464. * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
  465. * set to that server.
  466. *
  467. * @global integer $cfg['ServerDefault']
  468. */
  469. $cfg['ServerDefault'] = 1;
  470. /*
  471. * Other core phpMyAdmin settings
  472. */
  473. /**
  474. * whether Ajax behavior is active
  475. *
  476. * @global boolean $cfg['AjaxEnable']
  477. */
  478. $cfg['AjaxEnable'] = true;
  479. /**
  480. * whether version check is active
  481. *
  482. * @global boolean $cfg['VersionCheck']
  483. */
  484. $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
  485. /**
  486. * maximum number of db's displayed in left frame and database list
  487. *
  488. * @global integer $cfg['MaxDbList']
  489. */
  490. $cfg['MaxDbList'] = 100;
  491. /**
  492. * maximum number of tables displayed in table list
  493. *
  494. * @global integer $cfg['MaxTableList']
  495. */
  496. $cfg['MaxTableList'] = 250;
  497. /**
  498. * whether to show hint or not
  499. *
  500. * @global boolean $cfg['ShowHint']
  501. */
  502. $cfg['ShowHint'] = true;
  503. /**
  504. * maximum number of characters when a SQL query is displayed
  505. *
  506. * @global integer $cfg['MaxCharactersInDisplayedSQL']
  507. */
  508. $cfg['MaxCharactersInDisplayedSQL'] = 1000;
  509. /**
  510. * use GZIP output buffering if possible (true|false|'auto')
  511. *
  512. * @global string $cfg['OBGzip']
  513. */
  514. $cfg['OBGzip'] = 'auto';
  515. /**
  516. * use persistent connections to MySQL database
  517. *
  518. * @global boolean $cfg['PersistentConnections']
  519. */
  520. $cfg['PersistentConnections'] = false;
  521. /**
  522. * whether to force using HTTPS
  523. *
  524. * @global boolean $cfg['ForceSSL']
  525. */
  526. $cfg['ForceSSL'] = false;
  527. /**
  528. * maximum execution time in seconds (0 for no limit)
  529. *
  530. * @global integer $cfg['ExecTimeLimit']
  531. */
  532. $cfg['ExecTimeLimit'] = 300;
  533. /**
  534. * Path for storing session data (session_save_path PHP parameter).
  535. *
  536. * @global integer $cfg['SessionSavePath']
  537. */
  538. $cfg['SessionSavePath'] = '';
  539. /**
  540. * maximum allocated bytes ('0' for no limit)
  541. * this is a string because '16M' is a valid value; we must put here
  542. * a string as the default value so that /setup accepts strings
  543. *
  544. * @global string $cfg['MemoryLimit']
  545. */
  546. $cfg['MemoryLimit'] = '0';
  547. /**
  548. * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
  549. * Is ignored for Drizzle.
  550. *
  551. * @global boolean $cfg['SkipLockedTables']
  552. */
  553. $cfg['SkipLockedTables'] = false;
  554. /**
  555. * show SQL queries as run
  556. *
  557. * @global boolean $cfg['ShowSQL']
  558. */
  559. $cfg['ShowSQL'] = true;
  560. /**
  561. * retain SQL input on Ajax execute
  562. *
  563. * @global boolean $cfg['RetainQueryEditor']
  564. */
  565. $cfg['RetainQueryBox'] = false;
  566. /**
  567. * show a 'Drop database' link to normal users
  568. *
  569. * @global boolean $cfg['AllowUserDropDatabase']
  570. */
  571. $cfg['AllowUserDropDatabase'] = false;
  572. /**
  573. * confirm some commands that can result in loss of data
  574. * (see "need_confirm" in the parser)
  575. *
  576. * @global boolean $cfg['Confirm']
  577. */
  578. $cfg['Confirm'] = true;
  579. /**
  580. * recall previous login in cookie authentication mode or not
  581. *
  582. * @global boolean $cfg['LoginCookieRecall']
  583. */
  584. $cfg['LoginCookieRecall'] = true;
  585. /**
  586. * validity of cookie login (in seconds; 1440 matches php.ini's
  587. * session.gc_maxlifetime)
  588. *
  589. * @global integer $cfg['LoginCookieValidity']
  590. */
  591. $cfg['LoginCookieValidity'] = 1440;
  592. /**
  593. * how long login cookie should be stored (in seconds)
  594. *
  595. * @global integer $cfg['LoginCookieStore']
  596. */
  597. $cfg['LoginCookieStore'] = 0;
  598. /**
  599. * whether to delete all login cookies on logout
  600. *
  601. * @global boolean $cfg['LoginCookieDeleteAll']
  602. */
  603. $cfg['LoginCookieDeleteAll'] = true;
  604. /**
  605. * whether to enable the "database search" feature or not
  606. *
  607. * @global boolean $cfg['UseDbSearch']
  608. */
  609. $cfg['UseDbSearch'] = true;
  610. /**
  611. * if set to true, PMA continues computing multiple-statement queries
  612. * even if one of the queries failed
  613. *
  614. * @global boolean $cfg['IgnoreMultiSubmitErrors']
  615. */
  616. $cfg['IgnoreMultiSubmitErrors'] = false;
  617. /**
  618. * if set to true, PMA will show the affected rows of EACH statement on
  619. * multiple-statement queries. See the libraries/import.php file for
  620. * hard coded defaults on how many queries a statement may contain!
  621. *
  622. * @global boolean $cfg['VerboseMultiSubmit']
  623. */
  624. $cfg['VerboseMultiSubmit'] = true;
  625. /**
  626. * allow login to any user entered server in cookie based authentication
  627. *
  628. * @global boolean $cfg['AllowArbitraryServer']
  629. */
  630. $cfg['AllowArbitraryServer'] = false;
  631. /*******************************************************************************
  632. * Error handler configuration
  633. *
  634. * this configures phpMyAdmin's own error handler, it is used to avoid information
  635. * disclosure, gather errors for logging, reporting and displaying
  636. *
  637. * @global array $cfg['Error_Handler']
  638. */
  639. $cfg['Error_Handler'] = array();
  640. /**
  641. * whether to display errors or not
  642. *
  643. * this does not affect errors of type E_USER_*
  644. *
  645. * @global boolean $cfg['Error_Handler']['display']
  646. */
  647. $cfg['Error_Handler']['display'] = false;
  648. /**
  649. * (NOT IMPLEMENTED YET)
  650. * where to log errors, false or empty to disable
  651. *
  652. * <code>
  653. * // EXAMPLE log to std PHP error log
  654. * $cfg['Error_Handler']['log'] = array(0);
  655. * // EXAMPLE mail errors
  656. * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
  657. * // EXAMPLE append to specific file
  658. * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
  659. * </code>
  660. *
  661. * @see http://php.net/error_log
  662. * @global string $cfg['Error_Handler']['log']
  663. */
  664. //$cfg['Error_Handler']['log'] = false;
  665. /**
  666. * gather all errors in session to be displayed on a error reporting page
  667. * for viewing and/or sending to phpMyAdmin developer team
  668. *
  669. * @global boolean $cfg['Error_Handler']['gather']
  670. */
  671. $cfg['Error_Handler']['gather'] = false;
  672. /*******************************************************************************
  673. * Left frame setup
  674. */
  675. /**
  676. * use a select-based menu and display only the current tables in the left frame.
  677. *
  678. * @global boolean $cfg['LeftFrameLight']
  679. */
  680. $cfg['LeftFrameLight'] = true;
  681. /**
  682. * turn the select-based light menu into a tree
  683. *
  684. * @global boolean $cfg['LeftFrameDBTree']
  685. */
  686. $cfg['LeftFrameDBTree'] = true;
  687. /**
  688. * the separator to sub-tree the select-based light menu tree
  689. *
  690. * @global string $cfg['LeftFrameDBSeparator']
  691. */
  692. $cfg['LeftFrameDBSeparator'] = '_';
  693. /**
  694. * Which string will be used to generate table prefixes
  695. * to split/nest tables into multiple categories
  696. *
  697. * @global string $cfg['LeftFrameTableSeparator']
  698. */
  699. $cfg['LeftFrameTableSeparator']= '__';
  700. /**
  701. * How many sublevels should be displayed when splitting up tables by the above Separator
  702. *
  703. * @global integer $cfg['LeftFrameTableLevel']
  704. */
  705. $cfg['LeftFrameTableLevel'] = 1;
  706. /**
  707. * display table comment as tooltip in left frame
  708. *
  709. * @global boolean $cfg['ShowTooltip']
  710. */
  711. $cfg['ShowTooltip'] = true;
  712. /**
  713. * if ShowToolTip is enabled, this defines that table/db comments
  714. *
  715. * @global boolean $cfg['ShowTooltipAliasDB']
  716. */
  717. $cfg['ShowTooltipAliasDB'] = false;
  718. /**
  719. * are shown (in the left menu and db_structure) instead of table/db names.
  720. * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
  721. * descriptors, not the table itself.
  722. *
  723. * @global boolean $cfg['ShowTooltipAliasTB']
  724. */
  725. $cfg['ShowTooltipAliasTB'] = false;
  726. /**
  727. * display logo at top of left frame
  728. *
  729. * @global boolean $cfg['LeftDisplayLogo']
  730. */
  731. $cfg['LeftDisplayLogo'] = true;
  732. /**
  733. * where should logo link point to (can also contain an external URL)
  734. *
  735. * @global string $cfg['LeftLogoLink']
  736. */
  737. $cfg['LeftLogoLink'] = 'main.php';
  738. /**
  739. * whether to open the linked page in the main window ('main') or
  740. * in a new window ('new')
  741. *
  742. * @global string $cfg['LeftLogoLinkWindow']
  743. */
  744. $cfg['LeftLogoLinkWindow'] = 'main';
  745. /**
  746. * number of recently used tables displayed in the navigation frame
  747. *
  748. * @global integer $cfg['LeftRecentTable']
  749. */
  750. $cfg['LeftRecentTable'] = 10;
  751. /**
  752. * display a JavaScript table filter in the left frame
  753. * when more then x tables are present
  754. *
  755. * @global boolean $cfg['LeftDisplayTableFilterMinimum']
  756. */
  757. $cfg['LeftDisplayTableFilterMinimum'] = 30;
  758. /**
  759. * display server choice at top of left frame
  760. *
  761. * @global boolean $cfg['LeftDisplayServers']
  762. */
  763. $cfg['LeftDisplayServers'] = false;
  764. /**
  765. * server choice as links
  766. *
  767. * @global boolean $cfg['DisplayServersList']
  768. */
  769. $cfg['DisplayServersList'] = false;
  770. /**
  771. * database choice in light as links
  772. *
  773. * @global boolean $cfg['DisplayDatabasesList']
  774. */
  775. $cfg['DisplayDatabasesList'] = 'auto';
  776. /**
  777. * target of the navigation panel quick access icon
  778. *
  779. * Possible values:
  780. * 'tbl_structure.php' = fields list
  781. * 'tbl_sql.php' = SQL form
  782. * 'tbl_select.php' = search page
  783. * 'tbl_change.php' = insert row page
  784. * 'sql.php' = browse page
  785. *
  786. * @global string $cfg['LeftDefaultTabTable']
  787. */
  788. $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
  789. /*******************************************************************************
  790. * In the main frame, at startup...
  791. */
  792. /**
  793. * allow to display statistics and space usage in the pages about database
  794. * details and table properties
  795. *
  796. * @global boolean $cfg['ShowStats']
  797. */
  798. $cfg['ShowStats'] = true;
  799. /**
  800. * show PHP info link
  801. *
  802. * @global boolean $cfg['ShowPhpInfo']
  803. */
  804. $cfg['ShowPhpInfo'] = false;
  805. /**
  806. * show MySQL server and web server information
  807. *
  808. * @global boolean $cfg['ShowServerInfo']
  809. */
  810. $cfg['ShowServerInfo'] = true;
  811. /**
  812. * show change password link
  813. *
  814. * @global boolean $cfg['ShowChgPassword']
  815. */
  816. $cfg['ShowChgPassword'] = true;
  817. /**
  818. * show create database form
  819. *
  820. * @global boolean $cfg['ShowCreateDb']
  821. */
  822. $cfg['ShowCreateDb'] = true;
  823. /**
  824. * suggest a new DB name if possible (false = keep empty)
  825. *
  826. * @global boolean $cfg['SuggestDBName']
  827. */
  828. $cfg['SuggestDBName'] = true;
  829. /*******************************************************************************
  830. * In browse mode...
  831. */
  832. /**
  833. * Use icons instead of text for the navigation bar buttons
  834. * and on right panel top menu (server db table) (true|false|'both')
  835. *
  836. * @global string $cfg['NavigationBarIconic']
  837. */
  838. $cfg['NavigationBarIconic'] = true;
  839. /**
  840. * Defines whether a user should be displayed a "show all (records)"
  841. * button in browse mode or not.
  842. *
  843. * @global boolean $cfg['ShowAll']
  844. */
  845. $cfg['ShowAll'] = false;
  846. /**
  847. * Number of rows displayed when browsing a result set. If the result
  848. * set contains more rows, "Previous" and "Next".
  849. *
  850. * @global integer $cfg['MaxRows']
  851. */
  852. $cfg['MaxRows'] = 30;
  853. /**
  854. * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
  855. * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
  856. * ascending order else-)
  857. *
  858. * @global string $cfg['Order']
  859. */
  860. $cfg['Order'] = 'SMART';
  861. /**
  862. * default for 'Show binary contents as HEX'
  863. *
  864. * @global string $cfg['DisplayBinaryAsHex']
  865. */
  866. $cfg['DisplayBinaryAsHex'] = true;
  867. /*******************************************************************************
  868. * In edit mode...
  869. */
  870. /**
  871. * disallow editing of binary fields
  872. * valid values are:
  873. * false allow editing
  874. * 'blob' allow editing except for BLOB fields
  875. * 'all' disallow editing
  876. *
  877. * @global string $cfg['ProtectBinary']
  878. */
  879. $cfg['ProtectBinary'] = 'blob';
  880. /**
  881. * Display the function fields in edit/insert mode
  882. *
  883. * @global boolean $cfg['ShowFunctionFields']
  884. */
  885. $cfg['ShowFunctionFields'] = true;
  886. /**
  887. * Display the type fields in edit/insert mode
  888. *
  889. * @global boolean $cfg['ShowFieldTypesInDataEditView']
  890. */
  891. $cfg['ShowFieldTypesInDataEditView'] = true;
  892. /**
  893. * Which editor should be used for CHAR/VARCHAR fields:
  894. * input - allows limiting of input length
  895. * textarea - allows newlines in fields
  896. *
  897. * @global string $cfg['CharEditing']
  898. */
  899. $cfg['CharEditing'] = 'input';
  900. /**
  901. * The minimum size for character input fields
  902. *
  903. * @global integer $cfg['MinSizeForInputField']
  904. */
  905. $cfg['MinSizeForInputField'] = 4;
  906. /**
  907. * The maximum size for character input fields
  908. *
  909. * @global integer $cfg['MinSizeForInputField']
  910. */
  911. $cfg['MaxSizeForInputField'] = 60;
  912. /**
  913. * How many rows can be inserted at one time
  914. *
  915. * @global integer $cfg['InsertRows']
  916. */
  917. $cfg['InsertRows'] = 2;
  918. /**
  919. * Sort order for items in a foreign-key drop-down list.
  920. * 'content' is the referenced data, 'id' is the key value.
  921. *
  922. * @global array $cfg['ForeignKeyDropdownOrder']
  923. */
  924. $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
  925. /**
  926. * A drop-down list will be used if fewer items are present
  927. *
  928. * @global integer $cfg['ForeignKeyMaxLimit']
  929. */
  930. $cfg['ForeignKeyMaxLimit'] = 100;
  931. /*******************************************************************************
  932. * For the export features...
  933. */
  934. /**
  935. * Allow for the use of zip compression (requires zip support to be enabled)
  936. *
  937. * @global boolean $cfg['ZipDump']
  938. */
  939. $cfg['ZipDump'] = true;
  940. /**
  941. * Allow for the use of gzip compression (requires zlib)
  942. *
  943. * @global boolean $cfg['GZipDump']
  944. */
  945. $cfg['GZipDump'] = true;
  946. /**
  947. * Allow for the use of bzip2 compression (requires bz2 extension)
  948. *
  949. * @global boolean $cfg['BZipDump']
  950. */
  951. $cfg['BZipDump'] = true;
  952. /**
  953. * Will compress gzip/bzip2 exports on the fly without the need for much memory.
  954. * If you encounter problems with created gzip/bzip2 files disable this feature.
  955. *
  956. * @global boolean $cfg['CompressOnFly']
  957. */
  958. $cfg['CompressOnFly'] = true;
  959. /*******************************************************************************
  960. * Tabs display settings
  961. */
  962. /**
  963. * Use graphically less intense menu tabs
  964. *
  965. * @global boolean $cfg['LightTabs']
  966. */
  967. $cfg['LightTabs'] = false;
  968. /**
  969. * Use icons instead of text for the table display of a database (true|false|'both')
  970. *
  971. * @global boolean $cfg['PropertiesIconic']
  972. */
  973. $cfg['PropertiesIconic'] = 'both';
  974. /**
  975. * How many columns should be used for table display of a database?
  976. * (a value larger than 1 results in some information being hidden)
  977. *
  978. * @global integer $cfg['PropertiesNumColumns']
  979. */
  980. $cfg['PropertiesNumColumns'] = 1;
  981. /**
  982. * Possible values:
  983. * 'main.php' = the welcome page
  984. * (recommended for multiuser setups)
  985. * 'server_databases.php' = list of databases
  986. * 'server_status.php' = runtime information
  987. * 'server_variables.php' = MySQL server variables
  988. * 'server_privileges.php' = user management
  989. * 'server_processlist.php' = process list
  990. *
  991. * @global string $cfg['DefaultTabServer']
  992. */
  993. $cfg['DefaultTabServer'] = 'main.php';
  994. /**
  995. * Possible values:
  996. * 'db_structure.php' = tables list
  997. * 'db_sql.php' = SQL form
  998. * 'db_search.php' = search query
  999. * 'db_operations.php' = operations on database
  1000. *
  1001. * @global string $cfg['DefaultTabDatabase']
  1002. */
  1003. $cfg['DefaultTabDatabase'] = 'db_structure.php';
  1004. /**
  1005. * Possible values:
  1006. * 'tbl_structure.php' = fields list
  1007. * 'tbl_sql.php' = SQL form
  1008. * 'tbl_select.php' = search page
  1009. * 'tbl_change.php' = insert row page
  1010. * 'sql.php' = browse page
  1011. *
  1012. * @global string $cfg['DefaultTabTable']
  1013. */
  1014. $cfg['DefaultTabTable'] = 'sql.php';
  1015. /*******************************************************************************
  1016. * Export defaults
  1017. */
  1018. $cfg['Export'] = array();
  1019. /**
  1020. * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
  1021. *
  1022. * @global string $cfg['Export']['format']
  1023. */
  1024. $cfg['Export']['format'] = 'sql';
  1025. /**
  1026. * quick/custom/custom-no-form
  1027. *
  1028. * @global string $cfg['Export']['format']
  1029. */
  1030. $cfg['Export']['method'] = 'quick';
  1031. /**
  1032. * none/zip/gzip/bzip2
  1033. *
  1034. * @global string $cfg['Export']['compression']
  1035. */
  1036. $cfg['Export']['compression'] = 'none';
  1037. /**
  1038. *
  1039. *
  1040. * @global boolean $cfg['Export']['asfile']
  1041. */
  1042. $cfg['Export']['asfile'] = true;
  1043. /**
  1044. *
  1045. *
  1046. * @global string $cfg['Export']['charset']
  1047. */
  1048. $cfg['Export']['charset'] = '';
  1049. /**
  1050. *
  1051. *
  1052. * @global boolean $cfg['Export']['onserver']
  1053. */
  1054. $cfg['Export']['onserver'] = false;
  1055. /**
  1056. *
  1057. *
  1058. * @global boolean $cfg['Export']['onserver_overwrite']
  1059. */
  1060. $cfg['Export']['onserver_overwrite'] = false;
  1061. /**
  1062. *
  1063. *
  1064. * @global boolean $cfg['Export']['quick_export_onserver']
  1065. */
  1066. $cfg['Export']['quick_export_onserver'] = false;
  1067. /**
  1068. *
  1069. *
  1070. * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
  1071. */
  1072. $cfg['Export']['quick_export_onserver_overwrite'] = false;
  1073. /**
  1074. *
  1075. *
  1076. * @global boolean $cfg['Export']['remember_file_template']
  1077. */
  1078. $cfg['Export']['remember_file_template'] = true;
  1079. /**
  1080. *
  1081. *
  1082. * @global string $cfg['Export']['file_template_table']
  1083. */
  1084. $cfg['Export']['file_template_table'] = '@TABLE@';
  1085. /**
  1086. *
  1087. *
  1088. * @global string $cfg['Export']['file_template_database']
  1089. */
  1090. $cfg['Export']['file_template_database'] = '@DATABASE@';
  1091. /**
  1092. *
  1093. *
  1094. * @global string $cfg['Export']['file_template_server']
  1095. */
  1096. $cfg['Export']['file_template_server'] = '@SERVER@';
  1097. /**
  1098. *
  1099. *
  1100. * @global string $cfg['Export']['codegen_structure_or_data']
  1101. */
  1102. $cfg['Export']['codegen_structure_or_data'] = 'data';
  1103. /**
  1104. *
  1105. *
  1106. * @global $cfg['Export']['codegen_format']
  1107. */
  1108. $cfg['Export']['codegen_format'] = 0;
  1109. /**
  1110. *
  1111. *
  1112. * @global boolean $cfg['Export']['ods_columns']
  1113. */
  1114. $cfg['Export']['ods_columns'] = false;
  1115. /**
  1116. *
  1117. *
  1118. * @global string $cfg['Export']['ods_null']
  1119. */
  1120. $cfg['Export']['ods_null'] = 'NULL';
  1121. /**
  1122. *
  1123. *
  1124. * @global string $cfg['Export']['odt_structure_or_data']
  1125. */
  1126. $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
  1127. /**
  1128. *
  1129. *
  1130. * @global boolean $cfg['Export']['odt_columns']
  1131. */
  1132. $cfg['Export']['odt_columns'] = true;
  1133. /**
  1134. *
  1135. *
  1136. * @global boolean $cfg['Export']['odt_relation']
  1137. */
  1138. $cfg['Export']['odt_relation'] = true;
  1139. /**
  1140. *
  1141. *
  1142. * @global boolean $cfg['Export']['odt_comments']
  1143. */
  1144. $cfg['Export']['odt_comments'] = true;
  1145. /**
  1146. *
  1147. *
  1148. * @global boolean $cfg['Export']['odt_mime']
  1149. */
  1150. $cfg['Export']['odt_mime'] = true;
  1151. /**
  1152. *
  1153. *
  1154. * @global string $cfg['Export']['odt_null']
  1155. */
  1156. $cfg['Export']['odt_null'] = 'NULL';
  1157. /**
  1158. *
  1159. *
  1160. * @global boolean $cfg['Export']['htmlword_structure_or_data']
  1161. */
  1162. $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
  1163. /**
  1164. *
  1165. *
  1166. * @global boolean $cfg['Export']['htmlword_columns']
  1167. */
  1168. $cfg['Export']['htmlword_columns'] = false;
  1169. /**
  1170. *
  1171. *
  1172. * @global string $cfg['Export']['htmlword_null']
  1173. */
  1174. $cfg['Export']['htmlword_null'] = 'NULL';
  1175. /**
  1176. *
  1177. *
  1178. * @global string $cfg['Export']['texytext_structure_or_data']
  1179. */
  1180. $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
  1181. /**
  1182. *
  1183. *
  1184. * @global boolean $cfg['Export']['texytext_columns']
  1185. */
  1186. $cfg['Export']['texytext_columns'] = false;
  1187. /**
  1188. *
  1189. *
  1190. * @global string $cfg['Export']['texytext_null']
  1191. */
  1192. $cfg['Export']['texytext_null'] = 'NULL';
  1193. /**
  1194. *
  1195. *
  1196. * @global boolean $cfg['Export']['xls_columns']
  1197. */
  1198. $cfg['Export']['xls_columns'] = false;
  1199. /**
  1200. *
  1201. *
  1202. * @global string $cfg['Export']['xls_structure_or_data']
  1203. */
  1204. $cfg['Export']['xls_structure_or_data'] = 'data';
  1205. /**
  1206. *
  1207. *
  1208. * @global string $cfg['Export']['xls_null']
  1209. */
  1210. $cfg['Export']['xls_null'] = 'NULL';
  1211. /**
  1212. *
  1213. *
  1214. * @global boolean $cfg['Export']['xlsx_columns']
  1215. */
  1216. $cfg['Export']['xlsx_columns'] = false;
  1217. /**
  1218. *
  1219. *
  1220. * @global string $cfg['Export']['xlsx_structure_or_data']
  1221. */
  1222. $cfg['Export']['xlsx_structure_or_data'] = 'data';
  1223. /**
  1224. *
  1225. *
  1226. * @global string $cfg['Export']['xlsx_null']
  1227. */
  1228. $cfg['Export']['xlsx_null'] = 'NULL';
  1229. /**
  1230. *
  1231. *
  1232. * @global boolean $cfg['Export']['csv_columns']
  1233. */
  1234. $cfg['Export']['csv_columns'] = false;
  1235. /**
  1236. *
  1237. *
  1238. * @global string $cfg['Export']['csv_structure_or_data']
  1239. */
  1240. $cfg['Export']['csv_structure_or_data'] = 'data';
  1241. /**
  1242. *
  1243. *
  1244. * @global string $cfg['Export']['csv_null']
  1245. */
  1246. $cfg['Export']['csv_null'] = 'NULL';
  1247. /**
  1248. *
  1249. *
  1250. * @global string $cfg['Export']['csv_separator']
  1251. */
  1252. $cfg['Export']['csv_separator'] = ',';
  1253. /**
  1254. *
  1255. *
  1256. * @global string $cfg['Export']['csv_enclosed']
  1257. */
  1258. $cfg['Export']['csv_enclosed'] = '"';
  1259. /**
  1260. *
  1261. *
  1262. * @global string $cfg['Export']['csv_escaped']
  1263. */
  1264. $cfg['Export']['csv_escaped'] = '"';
  1265. /**
  1266. *
  1267. *
  1268. * @global string $cfg['Export']['csv_terminated']
  1269. */
  1270. $cfg['Export']['csv_terminated'] = 'AUTO';
  1271. /**
  1272. *
  1273. *
  1274. * @global string $cfg['Export']['csv_removeCRLF']
  1275. */
  1276. $cfg['Export']['csv_removeCRLF'] = false;
  1277. /**
  1278. *
  1279. *
  1280. * @global boolean $cfg['Export']['excel_columns']
  1281. */
  1282. $cfg['Export']['excel_columns'] = false;
  1283. /**
  1284. *
  1285. *
  1286. * @global string $cfg['Export']['excel_null']
  1287. */
  1288. $cfg['Export']['excel_null'] = 'NULL';
  1289. /**
  1290. * win/mac
  1291. *
  1292. * @global string $cfg['Export']['excel_edition']
  1293. */
  1294. $cfg['Export']['excel_edition'] = 'win';
  1295. /**
  1296. *
  1297. *
  1298. * @global string $cfg['Export']['excel_removeCRLF']
  1299. */
  1300. $cfg['Export']['excel_removeCRLF'] = false;
  1301. /**
  1302. *
  1303. *
  1304. * @global string $cfg['Export']['excel_structure_or_data']
  1305. */
  1306. $cfg['Export']['excel_structure_or_data'] = 'data';
  1307. /**
  1308. *
  1309. *
  1310. * @global string $cfg['Export']['latex_structure_or_data']
  1311. */
  1312. $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
  1313. /**
  1314. *
  1315. *
  1316. * @global boolean $cfg['Export']['latex_columns']
  1317. */
  1318. $cfg['Export']['latex_columns'] = true;
  1319. /**
  1320. *
  1321. *
  1322. * @global boolean $cfg['Export']['latex_relation']
  1323. */
  1324. $cfg['Export']['latex_relation'] = true;
  1325. /**
  1326. *
  1327. *
  1328. * @global boolean $cfg['Export']['latex_comments']
  1329. */
  1330. $cfg['Export']['latex_comments'] = true;
  1331. /**
  1332. *
  1333. *
  1334. * @global boolean $cfg['Export']['latex_mime']
  1335. */
  1336. $cfg['Export']['latex_mime'] = true;
  1337. /**
  1338. *
  1339. *
  1340. * @global string $cfg['Export']['latex_null']
  1341. */
  1342. $cfg['Export']['latex_null'] = '\textit{NULL}';
  1343. /**
  1344. *
  1345. *
  1346. * @global boolean $cfg['Export']['latex_caption']
  1347. */
  1348. $cfg['Export']['latex_caption'] = true;
  1349. /**
  1350. *
  1351. *
  1352. * @global string $cfg['Export']['latex_structure_caption']
  1353. */
  1354. $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
  1355. /**
  1356. *
  1357. *
  1358. * @global string $cfg['Export']['latex_structure_continued_caption']
  1359. */
  1360. $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
  1361. /**
  1362. *
  1363. *
  1364. * @global string $cfg['Export']['latex_data_caption']
  1365. */
  1366. $cfg['Export']['latex_data_caption'] = 'strLatexContent';
  1367. /**
  1368. *
  1369. *
  1370. * @global string $cfg['Export']['latex_data_continued_caption']
  1371. */
  1372. $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
  1373. /**
  1374. *
  1375. *
  1376. * @global string $cfg['Export']['latex_data_label']
  1377. */
  1378. $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
  1379. /**
  1380. *
  1381. *
  1382. * @global string $cfg['Export']['latex_structure_label']
  1383. */
  1384. $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
  1385. /**
  1386. *
  1387. *
  1388. * @global string $cfg['Export']['mediawiki_structure_or_data']
  1389. */
  1390. $cfg['Export']['mediawiki_structure_or_data'] = 'data';
  1391. /**
  1392. *
  1393. *
  1394. * @global string $cfg['Export']['ods_structure_or_data']
  1395. */
  1396. $cfg['Export']['ods_structure_or_data'] = 'data';
  1397. /**
  1398. *
  1399. *
  1400. * @global string $cfg['Export']['pdf_structure_or_data']
  1401. */
  1402. $cfg['Export']['pdf_structure_or_data'] = 'data';
  1403. /**
  1404. *
  1405. *
  1406. * @global string $cfg['Export']['php_array_structure_or_data']
  1407. */
  1408. $cfg['Export']['php_array_structure_or_data'] = 'data';
  1409. /**
  1410. *
  1411. *
  1412. * @global string $cfg['Export']['json_structure_or_data']
  1413. */
  1414. $cfg['Export']['json_structure_or_data'] = 'data';
  1415. /**
  1416. *
  1417. *
  1418. * @global string $cfg['Export']['sql_structure_or_data']
  1419. */
  1420. $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
  1421. /**
  1422. *
  1423. *
  1424. * @global string $cfg['Export']['sql_compatibility']
  1425. */
  1426. $cfg['Export']['sql_compatibility'] = 'NONE';
  1427. /**
  1428. * Whether to include comments in SQL export.
  1429. *
  1430. * @global string $cfg['Export']['sql_include_comments']
  1431. */
  1432. $cfg['Export']['sql_include_comments'] = true;
  1433. /**
  1434. *
  1435. *
  1436. * @global boolean $cfg['Export']['sql_disable_fk']
  1437. */
  1438. $cfg['Export']['sql_disable_fk'] = false;
  1439. /**
  1440. *
  1441. *
  1442. * @global boolean $cfg['Export']['sql_use_transaction']
  1443. */
  1444. $cfg['Export']['sql_use_transaction'] = false;
  1445. /**
  1446. *
  1447. *
  1448. * @global boolean $cfg['Export']['sql_drop_database']
  1449. */
  1450. $cfg['Export']['sql_drop_database'] = false;
  1451. /**
  1452. *
  1453. *
  1454. * @global boolean $cfg['Export']['sql_drop_table']
  1455. */
  1456. $cfg['Export']['sql_drop_table'] = false;
  1457. /**
  1458. *
  1459. *
  1460. * true by default for correct behavior when dealing with exporting
  1461. * of VIEWs and the stand-in table
  1462. * @global boolean $cfg['Export']['sql_if_not_exists']
  1463. */
  1464. $cfg['Export']['sql_if_not_exists'] = true;
  1465. /**
  1466. *
  1467. *
  1468. * @global boolean $cfg['Export']['sql_procedure_function']
  1469. */
  1470. $cfg['Export']['sql_procedure_function'] = true;
  1471. /**
  1472. *
  1473. *
  1474. * @global boolean $cfg['Export']['sql_auto_increment']
  1475. */
  1476. $cfg['Export']['sql_auto_increment'] = true;
  1477. /**
  1478. *
  1479. *
  1480. * @global boolean $cfg['Export']['sql_backquotes']
  1481. */
  1482. $cfg['Export']['sql_backquotes'] = true;
  1483. /**
  1484. *
  1485. *
  1486. * @global boolean $cfg['Export']['sql_dates']
  1487. */
  1488. $cfg['Export']['sql_dates'] = false;
  1489. /**
  1490. *
  1491. *
  1492. * @global boolean $cfg['Export']['sql_relation']
  1493. */
  1494. $cfg['Export']['sql_relation'] = false;
  1495. /**
  1496. *
  1497. *
  1498. * @global boolean $cfg['Export']['sql_delayed']
  1499. */
  1500. $cfg['Export']['sql_delayed'] = false;
  1501. /**
  1502. *
  1503. *
  1504. * @global boolean $cfg['Export']['sql_ignore']
  1505. */
  1506. $cfg['Export']['sql_ignore'] = false;
  1507. /**
  1508. * Export time in UTC.
  1509. *
  1510. * @global boolean $cfg['Export']['sql_utc_time']
  1511. */
  1512. $cfg['Export']['sql_utc_time'] = true;
  1513. /**
  1514. *
  1515. *
  1516. * @global boolean $cfg['Export']['sql_hex_for_blob']
  1517. */
  1518. $cfg['Export']['sql_hex_for_blob'] = true;
  1519. /**
  1520. * insert/update/replace
  1521. *
  1522. * @global string $cfg['Export']['sql_type']
  1523. */
  1524. $cfg['Export']['sql_type'] = 'INSERT';
  1525. /**
  1526. *
  1527. *
  1528. * @global integer $cfg['Export']['sql_max_query_size']
  1529. */
  1530. $cfg['Export']['sql_max_query_size'] = 50000;
  1531. /**
  1532. *
  1533. *
  1534. * @global boolean $cfg['Export']['sql_comments']
  1535. */
  1536. $cfg['Export']['sql_comments'] = false;
  1537. /**
  1538. *
  1539. *
  1540. * @global boolean $cfg['Export']['sql_mime']
  1541. */
  1542. $cfg['Export']['sql_mime'] = false;
  1543. /**
  1544. * \n is replaced by new line
  1545. *
  1546. * @global string $cfg['Export']['sql_header_comment']
  1547. */
  1548. $cfg['Export']['sql_header_comment'] = '';
  1549. /**
  1550. *
  1551. *
  1552. * @global boolean $cfg['Export']['sql_create_table_statements']
  1553. */
  1554. $cfg['Export']['sql_create_table_statements'] = true;
  1555. /**
  1556. * Whether to use complete inserts, extended inserts, both, or neither
  1557. *
  1558. * @global string $cfg['Export']['sql_insert_syntax']
  1559. */
  1560. $cfg['Export']['sql_insert_syntax'] = 'both';
  1561. /**
  1562. *
  1563. *
  1564. * @global string $cfg['Export']['pdf_report_title']
  1565. */
  1566. $cfg['Export']['pdf_report_title'] = '';
  1567. /**
  1568. *
  1569. *
  1570. *@global string $cfg['Export']['xml_structure_or_data']
  1571. */
  1572. $cfg['Export']['xml_structure_or_data'] = 'data';
  1573. /**
  1574. * Export schema for each structure
  1575. *
  1576. * @global string $cfg['Export']['xml_export_struc']
  1577. */
  1578. $cfg['Export']['xml_export_struc'] = true;
  1579. /**
  1580. * Export functions
  1581. *
  1582. * @global string $cfg['Export']['xml_export_functions']
  1583. */
  1584. $cfg['Export']['xml_export_functions'] = true;
  1585. /**
  1586. * Export procedures
  1587. *
  1588. * @global string $cfg['Export']['xml_export_procedures']
  1589. */
  1590. $cfg['Export']['xml_export_procedures'] = true;
  1591. /**
  1592. * Export schema for each table
  1593. *
  1594. * @global string $cfg['Export']['xml_export_tables']
  1595. */
  1596. $cfg['Export']['xml_export_tables'] = true;
  1597. /**
  1598. * Export triggers
  1599. *
  1600. * @global string $cfg['Export']['xml_export_triggers']
  1601. */
  1602. $cfg['Export']['xml_export_triggers'] = true;
  1603. /**
  1604. * Export views
  1605. *
  1606. * @global string $cfg['Export']['xml_export_views']
  1607. */
  1608. $cfg['Export']['xml_export_views'] = true;
  1609. /**
  1610. * Export contents data
  1611. *
  1612. * @global string $cfg['Export']['xml_export_contents']
  1613. */
  1614. $cfg['Export']['xml_export_contents'] = true;
  1615. /**
  1616. *
  1617. *
  1618. * @global string $cfg['Export']['yaml_structure_or_data']
  1619. */
  1620. $cfg['Export']['yaml_structure_or_data'] = 'data';
  1621. /*******************************************************************************
  1622. * Import defaults
  1623. */
  1624. $cfg['Import'] = array();
  1625. /**
  1626. *
  1627. *
  1628. * @global string $cfg['Import']['format']
  1629. */
  1630. $cfg['Import']['format'] = 'sql';
  1631. /**
  1632. * Default charset for import.
  1633. *
  1634. * @global string $cfg['Import']['charset']
  1635. */
  1636. $cfg['Import']['charset'] = '';
  1637. /**
  1638. *
  1639. *
  1640. * @global boolean $cfg['Import']['allow_interrupt']
  1641. */
  1642. $cfg['Import']['allow_interrupt'] = true;
  1643. /**
  1644. *
  1645. *
  1646. * @global integer $cfg['Import']['skip_queries']
  1647. */
  1648. $cfg['Import']['skip_queries'] = 0;
  1649. /**
  1650. *
  1651. *
  1652. * @global string $cfg['Import']['sql_compatibility']
  1653. */
  1654. $cfg['Import']['sql_compatibility'] = 'NONE';
  1655. /**
  1656. *
  1657. *
  1658. * @global string $cfg['Import']['sql_no_auto_value_on_zero']
  1659. */
  1660. $cfg['Import']['sql_no_auto_value_on_zero'] = true;
  1661. /**
  1662. *
  1663. *
  1664. * @global boolean $cfg['Import']['csv_replace']
  1665. */
  1666. $cfg['Import']['csv_replace'] = false;
  1667. /**
  1668. *
  1669. *
  1670. * @global boolean $cfg['Import']['csv_ignore']
  1671. */
  1672. $cfg['Import']['csv_ignore'] = false;
  1673. /**
  1674. *
  1675. *
  1676. * @global string $cfg['Import']['csv_terminated']
  1677. */
  1678. $cfg['Import']['csv_terminated'] = ',';
  1679. /**
  1680. *
  1681. *
  1682. * @global string $cfg['Import']['csv_enclosed']
  1683. */
  1684. $cfg['Import']['csv_enclosed'] = '"';
  1685. /**
  1686. *
  1687. *
  1688. * @global string $cfg['Import']['csv_escaped']
  1689. */
  1690. $cfg['Import']['csv_escaped'] = '"';
  1691. /**
  1692. *
  1693. *
  1694. * @global string $cfg['Import']['csv_new_line']
  1695. */
  1696. $cfg['Import']['csv_new_line'] = 'auto';
  1697. /**
  1698. *
  1699. *
  1700. * @global string $cfg['Import']['csv_columns']
  1701. */
  1702. $cfg['Import']['csv_columns'] = '';
  1703. /**
  1704. *
  1705. *
  1706. * @global string $cfg['Import']['csv_col_names']
  1707. */
  1708. $cfg['Import']['csv_col_names'] = false;
  1709. /**
  1710. *
  1711. *
  1712. * @global boolean $cfg['Import']['ldi_replace']
  1713. */
  1714. $cfg['Import']['ldi_replace'] = false;
  1715. /**
  1716. *
  1717. *
  1718. * @global boolean $cfg['Import']['ldi_ignore']
  1719. */
  1720. $cfg['Import']['ldi_ignore'] = false;
  1721. /**
  1722. *
  1723. *
  1724. * @global string $cfg['Import']['ldi_terminated']
  1725. */
  1726. $cfg['Import']['ldi_terminated'] = ';';
  1727. /**
  1728. *
  1729. *
  1730. * @global string $cfg['Import']['ldi_enclosed']
  1731. */
  1732. $cfg['Import']['ldi_enclosed'] = '"';
  1733. /**
  1734. *
  1735. *
  1736. * @global string $cfg['Import']['ldi_escaped']
  1737. */
  1738. $cfg['Import']['ldi_escaped'] = '\\';
  1739. /**
  1740. *
  1741. *
  1742. * @global string $cfg['Import']['ldi_new_line']
  1743. */
  1744. $cfg['Import']['ldi_new_line'] = 'auto';
  1745. /**
  1746. *
  1747. *
  1748. * @global string $cfg['Import']['ldi_columns']
  1749. */
  1750. $cfg['Import']['ldi_columns'] = '';
  1751. /**
  1752. * 'auto' for auto-detection, true or false for forcing
  1753. *
  1754. * @global string $cfg['Import']['ldi_local_option']
  1755. */
  1756. $cfg['Import']['ldi_local_option'] = 'auto';
  1757. /**
  1758. *
  1759. *
  1760. * @global string $cfg['Import']['ods_col_names']
  1761. */
  1762. $cfg['Import']['ods_col_names'] = false;
  1763. /**
  1764. *
  1765. *
  1766. * @global string $cfg['Import']['ods_empty_rows']
  1767. */
  1768. $cfg['Import']['ods_empty_rows'] = true;
  1769. /**
  1770. *
  1771. *
  1772. * @global string $cfg['Import']['ods_recognize_percentages']
  1773. */
  1774. $cfg['Import']['ods_recognize_percentages'] = true;
  1775. /**
  1776. *
  1777. *
  1778. * @global string $cfg['Import']['ods_recognize_currency']
  1779. */
  1780. $cfg['Import']['ods_recognize_currency'] = true;
  1781. /**
  1782. *
  1783. *
  1784. * @global string $cfg['Import']['xml_col_names']
  1785. */
  1786. $cfg['Import']['xls_col_names'] = false;
  1787. /**
  1788. *
  1789. *
  1790. * @global string $cfg['Import']['xml_empty_rows']
  1791. */
  1792. $cfg['Import']['xls_empty_rows'] = true;
  1793. /**
  1794. *
  1795. *
  1796. * @global string $cfg['Import']['xlsx_col_names']
  1797. */
  1798. $cfg['Import']['xlsx_col_names'] = false;
  1799. /**
  1800. * Link to the official MySQL documentation.
  1801. * Be sure to include no trailing slash on the path.
  1802. * See http://dev.mysql.com/doc/ for more information
  1803. * about MySQL manuals and their types.
  1804. *
  1805. * @global string $cfg['MySQLManualBase']
  1806. */
  1807. $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
  1808. /**
  1809. * Type of MySQL documentation:
  1810. * viewable - "viewable online", current one used on MySQL website
  1811. * searchable - "Searchable, with user comments"
  1812. * chapters - "HTML, one page per chapter"
  1813. * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
  1814. * big - "HTML, all on one page"
  1815. * old - old style used in phpMyAdmin 2.3.0 and sooner
  1816. * none - do not show documentation links
  1817. *
  1818. * @global string $cfg['MySQLManualType']
  1819. */
  1820. $cfg['MySQLManualType'] = 'viewable';
  1821. /*******************************************************************************
  1822. * PDF options
  1823. */
  1824. /**
  1825. *
  1826. *
  1827. * @global array $cfg['PDFPageSizes']
  1828. */
  1829. $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
  1830. /**
  1831. *
  1832. *
  1833. * @global string $cfg['PDFDefaultPageSize']
  1834. */
  1835. $cfg['PDFDefaultPageSize'] = 'A4';
  1836. /*******************************************************************************
  1837. * Language and character set conversion settings
  1838. */
  1839. /**
  1840. * Default language to use, if not browser-defined or user-defined
  1841. *
  1842. * @global string $cfg['DefaultLang']
  1843. */
  1844. $cfg['DefaultLang'] = 'en';
  1845. /**
  1846. * Default connection collation
  1847. *
  1848. * @global string $cfg['DefaultConnectionCollation']
  1849. */
  1850. $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
  1851. /**
  1852. * Force: always use this language
  1853. * $cfg['Lang'] = 'en';
  1854. *
  1855. * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
  1856. * English only
  1857. *
  1858. * @global string $cfg['FilterLanguages']
  1859. */
  1860. $cfg['FilterLanguages'] = '';
  1861. /**
  1862. * You can select here which functions will be used for character set conversion.
  1863. * Possible values are:
  1864. * auto - automatically use available one (first is tested iconv, then
  1865. * recode)
  1866. * iconv - use iconv or libiconv functions
  1867. * recode - use recode_string function
  1868. * none - disable encoding conversion
  1869. *
  1870. * @global string $cfg['RecodingEngine']
  1871. */
  1872. $cfg['RecodingEngine'] = 'auto';
  1873. /**
  1874. * Specify some parameters for iconv used in character set conversion. See iconv
  1875. * documentation for details:
  1876. * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
  1877. *
  1878. * @global string $cfg['IconvExtraParams']
  1879. */
  1880. $cfg['IconvExtraParams'] = '//TRANSLIT';
  1881. /**
  1882. * Available character sets for MySQL conversion. currently contains all which could
  1883. * be found in lang/* files and few more.
  1884. * Character sets will be shown in same order as here listed, so if you frequently
  1885. * use some of these move them to the top.
  1886. *
  1887. * @global array $cfg['AvailableCharsets']
  1888. */
  1889. $cfg['AvailableCharsets'] = array(
  1890. 'iso-8859-1',
  1891. 'iso-8859-2',
  1892. 'iso-8859-3',
  1893. 'iso-8859-4',
  1894. 'iso-8859-5',
  1895. 'iso-8859-6',
  1896. 'iso-8859-7',
  1897. 'iso-8859-8',
  1898. 'iso-8859-9',
  1899. 'iso-8859-10',
  1900. 'iso-8859-11',
  1901. 'iso-8859-12',
  1902. 'iso-8859-13',
  1903. 'iso-8859-14',
  1904. 'iso-8859-15',
  1905. 'windows-1250',
  1906. 'windows-1251',
  1907. 'windows-1252',
  1908. 'windows-1256',
  1909. 'windows-1257',
  1910. 'koi8-r',
  1911. 'big5',
  1912. 'gb2312',
  1913. 'utf-16',
  1914. 'utf-8',
  1915. 'utf-7',
  1916. 'x-user-defined',
  1917. 'euc-jp',
  1918. 'ks_c_5601-1987',
  1919. 'tis-620',
  1920. 'SHIFT_JIS'
  1921. );
  1922. /*******************************************************************************
  1923. * Customization & design
  1924. *
  1925. * The graphical settings are now located in themes/theme-name/layout.inc.php
  1926. */
  1927. /**
  1928. * enable the left panel pointer
  1929. * (used when LeftFrameLight is false)
  1930. * see also LeftPointerColor
  1931. * in layout.inc.php
  1932. *
  1933. * @global boolean $cfg['LeftPointerEnable']
  1934. */
  1935. $cfg['LeftPointerEnable'] = true;
  1936. /**
  1937. * enable the browse pointer
  1938. * see also BrowsePointerColor
  1939. * in layout.inc.php
  1940. *
  1941. * @global boolean $cfg['BrowsePointerEnable']
  1942. */
  1943. $cfg['BrowsePointerEnable'] = true;
  1944. /**
  1945. * enable the browse marker
  1946. * see also BrowseMarkerColor
  1947. * in layout.inc.php
  1948. *
  1949. * @global boolean $cfg['BrowseMarkerEnable']
  1950. */
  1951. $cfg['BrowseMarkerEnable'] = true;
  1952. /**
  1953. * textarea size (columns) in edit mode
  1954. * (this value will be emphasized (*2) for SQL
  1955. * query textareas and (*1.25) for query window)
  1956. *
  1957. * @global integer $cfg['TextareaCols']
  1958. */
  1959. $cfg['TextareaCols'] = 40;
  1960. /**
  1961. * textarea size (rows) in edit mode
  1962. *
  1963. * @global integer $cfg['TextareaRows']
  1964. */
  1965. $cfg['TextareaRows'] = 15;
  1966. /**
  1967. * double size of textarea size for LONGTEXT columns
  1968. *
  1969. * @global boolean $cfg['LongtextDoubleTextarea']
  1970. */
  1971. $cfg['LongtextDoubleTextarea'] = true;
  1972. /**
  1973. * auto-select when clicking in the textarea of the query-box
  1974. *
  1975. * @global boolean $cfg['TextareaAutoSelect']
  1976. */
  1977. $cfg['TextareaAutoSelect'] = false;
  1978. /**
  1979. * textarea size (columns) for CHAR/VARCHAR
  1980. *
  1981. * @global integer $cfg['CharTextareaCols']
  1982. */
  1983. $cfg['CharTextareaCol…

Large files files are truncated, but you can click here to view the full file