Add ChangeLog entry for #15592
[phpmyadmin.git] / libraries / config.default.php
blobe7cf828bff4e3d816632a1aaa054ab96b4943918
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>
12 * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
14 * phpMyAdmin default configuration, you can copy values from here to your
15 * config.inc.php
17 * All directives are explained in the documentation
19 * @package PhpMyAdmin
22 /**
23 * Your phpMyAdmin URL.
25 * Complete the variable below with the full URL ie
26 * https://example.com/path_to_your_phpMyAdmin_directory/
28 * It must contain characters that are valid for a URL, and the path is
29 * case sensitive on some Web servers, for example Unix-based servers.
31 * In most cases you can leave this variable empty, as the correct value
32 * will be detected automatically. However, we recommend that you do
33 * test to see that the auto-detection code works in your system. A good
34 * test is to browse a table, then edit a row and save it. There will be
35 * an error message if phpMyAdmin cannot auto-detect the correct value.
37 * @global string $cfg['PmaAbsoluteUri']
39 $cfg['PmaAbsoluteUri'] = '';
41 /**
42 * Configure authentication logging destination
44 * @global string $cfg['AuthLog']
46 $cfg['AuthLog'] = 'auto';
48 /**
49 * Whether to log successful authentication attempts
51 * @global boolean $cfg['AuthLogSuccess']
53 $cfg['AuthLogSuccess'] = false;
55 /**
56 * Disable the default warning that is displayed on the DB Details Structure page if
57 * any of the required Tables for the configuration storage could not be found
59 * @global boolean $cfg['PmaNoRelation_DisableWarning']
61 $cfg['PmaNoRelation_DisableWarning'] = false;
63 /**
64 * Disable the default warning that is displayed if Suhosin is detected
66 * @global boolean $cfg['SuhosinDisableWarning']
68 $cfg['SuhosinDisableWarning'] = false;
70 /**
71 * Disable the default warning that is displayed if session.gc_maxlifetime
72 * is less than `LoginCookieValidity`
74 * @global boolean $cfg['LoginCookieValidityDisableWarning']
76 $cfg['LoginCookieValidityDisableWarning'] = false;
78 /**
79 * Disable the default warning about MySQL reserved words in column names
81 * @global boolean $cfg['ReservedWordDisableWarning']
83 $cfg['ReservedWordDisableWarning'] = false;
85 /**
86 * Show warning about incomplete translations on certain threshold.
88 * @global boolean $cfg['TranslationWarningThreshold']
90 $cfg['TranslationWarningThreshold'] = 80;
92 /**
93 * Allows phpMyAdmin to be included from a other document in a frame;
94 * setting this to true is a potential security hole
96 * @global boolean $cfg['AllowThirdPartyFraming']
98 $cfg['AllowThirdPartyFraming'] = false;
101 * The 'cookie' auth_type uses AES algorithm to encrypt the password. If
102 * at least one server configuration uses 'cookie' auth_type, enter here a
103 * pass phrase that will be used by AES. The maximum length seems to be 46
104 * characters.
106 * @global string $cfg['blowfish_secret']
108 $cfg['blowfish_secret'] = '';
111 /*******************************************************************************
112 * Server(s) configuration
114 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
115 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
116 * to ''. If you want more than one server, just copy following section
117 * (including $i incrementation) several times. There is no need to define
118 * full server array, just define values you need to change.
120 * @global array $cfg['Servers']
122 $cfg['Servers'] = array();
124 $i = 1;
127 * MySQL hostname or IP address
129 * @global string $cfg['Servers'][$i]['host']
131 $cfg['Servers'][$i]['host'] = 'localhost';
134 * MySQL port - leave blank for default port
136 * @global string $cfg['Servers'][$i]['port']
138 $cfg['Servers'][$i]['port'] = '';
141 * Path to the socket - leave blank for default socket
143 * @global string $cfg['Servers'][$i]['socket']
145 $cfg['Servers'][$i]['socket'] = '';
148 * Use SSL for connecting to MySQL server?
150 * @global boolean $cfg['Servers'][$i]['ssl']
152 $cfg['Servers'][$i]['ssl'] = false;
155 * Path to the key file when using SSL for connecting to the MySQL server
157 * @global string $cfg['Servers'][$i]['ssl_key']
159 $cfg['Servers'][$i]['ssl_key'] = null;
162 * Path to the cert file when using SSL for connecting to the MySQL server
164 * @global string $cfg['Servers'][$i]['ssl_cert']
166 $cfg['Servers'][$i]['ssl_cert'] = null;
169 * Path to the CA file when using SSL for connecting to the MySQL server
171 * @global string $cfg['Servers'][$i]['ssl_ca']
173 $cfg['Servers'][$i]['ssl_ca'] = null;
176 * Directory containing trusted SSL CA certificates in PEM format
178 * @global string $cfg['Servers'][$i]['ssl_ca_path']
180 $cfg['Servers'][$i]['ssl_ca_path'] = null;
183 * List of allowable ciphers for SSL connections to the MySQL server
185 * @global string $cfg['Servers'][$i]['ssl_ciphers']
187 $cfg['Servers'][$i]['ssl_ciphers'] = null;
190 * MySQL 5.6 or later triggers the mysqlnd driver in PHP to validate the
191 * peer_name of the SSL certifcate
192 * For most self-signed certificates this is a problem. Setting this to false
193 * will disable the check and allow the connection (PHP 5.6.16 or later)
195 * @link https://bugs.php.net/68344
196 * @global string $cfg['Servers'][$i]['ssl_verify']
198 $cfg['Servers'][$i]['ssl_verify'] = true;
201 * Use compressed protocol for the MySQL connection
203 * @global boolean $cfg['Servers'][$i]['compress']
205 $cfg['Servers'][$i]['compress'] = false;
208 * MySQL control host. This permits to use a host different than the
209 * main host, for the phpMyAdmin configuration storage. If left empty,
210 * $cfg['Servers'][$i]['host'] is used instead.
212 * @global string $cfg['Servers'][$i]['controlhost']
214 $cfg['Servers'][$i]['controlhost'] = '';
217 * MySQL control port. This permits to use a port different than the
218 * main port, for the phpMyAdmin configuration storage. If left empty,
219 * $cfg['Servers'][$i]['port'] is used instead.
221 * @global string $cfg['Servers'][$i]['controlport']
223 $cfg['Servers'][$i]['controlport'] = '';
226 * MySQL control user settings (this user must have read-only
227 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
228 * used for all relational features (pmadb)
230 * @global string $cfg['Servers'][$i]['controluser']
232 $cfg['Servers'][$i]['controluser'] = '';
235 * MySQL control user settings (this user must have read-only
236 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
237 * used for all relational features (pmadb)
239 * @global string $cfg['Servers'][$i]['controlpass']
241 $cfg['Servers'][$i]['controlpass'] = '';
244 * Authentication method (valid choices: config, http, signon or cookie)
246 * @global string $cfg['Servers'][$i]['auth_type']
248 $cfg['Servers'][$i]['auth_type'] = 'cookie';
251 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
253 * @global string $cfg['Servers'][$i]['auth_http_realm']
255 $cfg['Servers'][$i]['auth_http_realm'] = '';
258 * MySQL user
260 * @global string $cfg['Servers'][$i]['user']
262 $cfg['Servers'][$i]['user'] = 'root';
265 * MySQL password (only needed with 'config' auth_type)
267 * @global string $cfg['Servers'][$i]['password']
269 $cfg['Servers'][$i]['password'] = '';
272 * Session to use for 'signon' authentication method
274 * @global string $cfg['Servers'][$i]['SignonSession']
276 $cfg['Servers'][$i]['SignonSession'] = '';
279 * Cookie params to match session to use for 'signon' authentication method
280 * It should be an associative array matching result of session_get_cookie_params() in other system
282 * @global array $cfg['Servers'][$i]['SignonCookieParams']
284 $cfg['Servers'][$i]['SignonCookieParams'] = array();
287 * PHP script to use for 'signon' authentication method
289 * @global string $cfg['Servers'][$i]['SignonScript']
291 $cfg['Servers'][$i]['SignonScript'] = '';
294 * URL where to redirect user to login for 'signon' authentication method
296 * @global string $cfg['Servers'][$i]['SignonURL']
298 $cfg['Servers'][$i]['SignonURL'] = '';
301 * URL where to redirect user after logout
303 * @global string $cfg['Servers'][$i]['LogoutURL']
305 $cfg['Servers'][$i]['LogoutURL'] = '';
308 * If set to a db-name, only this db is displayed in navigation panel
309 * It may also be an array of db-names
311 * @global string $cfg['Servers'][$i]['only_db']
313 $cfg['Servers'][$i]['only_db'] = '';
316 * Database name to be hidden from listings
318 * @global string $cfg['Servers'][$i]['hide_db']
320 $cfg['Servers'][$i]['hide_db'] = '';
323 * Verbose name for this host - leave blank to show the hostname
324 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
326 * @global string $cfg['Servers'][$i]['verbose']
328 $cfg['Servers'][$i]['verbose'] = '';
331 * Database used for Relation, Bookmark and PDF Features
332 * (see sql/create_tables.sql)
333 * - leave blank for no support
334 * SUGGESTED: 'phpmyadmin'
336 * @global string $cfg['Servers'][$i]['pmadb']
338 $cfg['Servers'][$i]['pmadb'] = '';
341 * Bookmark table
342 * - leave blank for no bookmark support
343 * SUGGESTED: 'pma__bookmark'
345 * @global string $cfg['Servers'][$i]['bookmarktable']
347 $cfg['Servers'][$i]['bookmarktable'] = '';
350 * table to describe the relation between links (see doc)
351 * - leave blank for no relation-links support
352 * SUGGESTED: 'pma__relation'
354 * @global string $cfg['Servers'][$i]['relation']
356 $cfg['Servers'][$i]['relation'] = '';
359 * table to describe the display fields
360 * - leave blank for no display fields support
361 * SUGGESTED: 'pma__table_info'
363 * @global string $cfg['Servers'][$i]['table_info']
365 $cfg['Servers'][$i]['table_info'] = '';
368 * table to describe the tables position for the designer and PDF schema
369 * - leave blank for no PDF schema support
370 * SUGGESTED: 'pma__table_coords'
372 * @global string $cfg['Servers'][$i]['table_coords']
374 $cfg['Servers'][$i]['table_coords'] = '';
377 * table to describe pages of relationpdf
378 * - leave blank if you don't want to use this
379 * SUGGESTED: 'pma__pdf_pages'
381 * @global string $cfg['Servers'][$i]['pdf_pages']
383 $cfg['Servers'][$i]['pdf_pages'] = '';
386 * table to store column information
387 * - leave blank for no column comments/mime types
388 * SUGGESTED: 'pma__column_info'
390 * @global string $cfg['Servers'][$i]['column_info']
392 $cfg['Servers'][$i]['column_info'] = '';
395 * table to store SQL history
396 * - leave blank for no SQL query history
397 * SUGGESTED: 'pma__history'
399 * @global string $cfg['Servers'][$i]['history']
401 $cfg['Servers'][$i]['history'] = '';
404 * table to store recently used tables
405 * - leave blank for no "persistent" recently used tables
406 * SUGGESTED: 'pma__recent'
408 $cfg['Servers'][$i]['recent'] = '';
411 * table to store favorite tables
412 * - leave blank for no favorite tables
413 * SUGGESTED: 'pma__favorite'
415 $cfg['Servers'][$i]['favorite'] = '';
418 * table to store UI preferences for tables
419 * - leave blank for no "persistent" UI preferences
420 * SUGGESTED: 'pma__table_uiprefs'
422 $cfg['Servers'][$i]['table_uiprefs'] = '';
425 * table to store SQL tracking
426 * - leave blank for no SQL tracking
427 * SUGGESTED: 'pma__tracking'
429 * @global string $cfg['Servers'][$i]['tracking']
431 $cfg['Servers'][$i]['tracking'] = '';
434 * table to store user preferences
435 * - leave blank to disable server storage
436 * SUGGESTED: 'pma__userconfig'
438 * @global string $cfg['Servers'][$i]['userconfig']
440 $cfg['Servers'][$i]['userconfig'] = '';
443 * table to store users and their assignment to user groups
444 * - leave blank to disable configurable menus feature
445 * SUGGESTED: 'pma__users'
447 * @global string $cfg['Servers'][$i]['users']
449 $cfg['Servers'][$i]['users'] = '';
452 * table to store allowed menu items for each user group
453 * - leave blank to disable configurable menus feature
454 * SUGGESTED: 'pma__usergroups'
456 * @global string $cfg['Servers'][$i]['usergroups']
458 $cfg['Servers'][$i]['usergroups'] = '';
461 * table to store information about item hidden from navigation tree
462 * - leave blank to disable hide/show navigation items feature
463 * SUGGESTED: 'pma__navigationhiding'
465 * @global string $cfg['Servers'][$i]['navigationhiding']
467 $cfg['Servers'][$i]['navigationhiding'] = '';
470 * table to store information about saved searches from query-by-example on a db
471 * - leave blank to disable saved searches feature
472 * SUGGESTED: 'pma__savedsearches'
474 * @global string $cfg['Servers'][$i]['savedsearches']
476 $cfg['Servers'][$i]['savedsearches'] = '';
479 * table to store central list of columns per database
480 * - leave blank to disable central list of columns feature
481 * SUGGESTED: 'pma__central_columns'
483 * @global string $cfg['Servers'][$i]['central_columns']
485 $cfg['Servers'][$i]['central_columns'] = '';
488 * table to store designer settings
489 * - leave blank to disable the storage of designer settings
490 * SUGGESTED: 'pma__designer_settings'
492 * @global string $cfg['Servers'][$i]['designer_settings']
494 $cfg['Servers'][$i]['designer_settings'] = '';
497 * table to store export templates
498 * - leave blank to disable saved searches feature
499 * SUGGESTED: 'pma__export_templates'
501 * @global string $cfg['Servers'][$i]['export_templates']
503 $cfg['Servers'][$i]['export_templates'] = '';
506 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
508 * In case where tables in databases is modified (e.g. dropped or renamed),
509 * table_uiprefs may contains invalid data (referring to tables which are not
510 * exist anymore).
511 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
512 * newest record in table_uiprefs and automatically delete older records.
514 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
516 $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
519 * Sets the time zone used by phpMyAdmin. Possible values are explained at
520 * https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
522 * @global string $cfg['Servers'][$i]['SessionTimeZone'] = ''
524 $cfg['Servers'][$i]['SessionTimeZone'] = '';
527 * whether to allow root login
529 * @global boolean $cfg['Servers'][$i]['AllowRoot']
531 $cfg['Servers'][$i]['AllowRoot'] = true;
534 * whether to allow login of any user without a password
536 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
538 $cfg['Servers'][$i]['AllowNoPassword'] = false;
541 * Host authentication order, leave blank to not use
543 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
545 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
548 * Host authentication rules, leave blank for defaults
550 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
552 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
555 * Disable use of INFORMATION_SCHEMA.
557 * @see https://github.com/phpmyadmin/phpmyadmin/issues/8970
558 * @see https://bugs.mysql.com/19588
559 * @global boolean $cfg['Servers'][$i]['DisableIS']
561 $cfg['Servers'][$i]['DisableIS'] = false;
564 * Whether the tracking mechanism creates
565 * versions for tables and views automatically.
567 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
569 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
572 * Defines the list of statements
573 * the auto-creation uses for new versions.
575 * @global string $cfg['Servers'][$i]['tracking_default_statements']
577 $cfg['Servers'][$i]['tracking_default_statements']
578 = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,CREATE INDEX,' .
579 'DROP INDEX,INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,CREATE VIEW,' .
580 'ALTER VIEW,DROP VIEW,CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
583 * Whether a DROP VIEW IF EXISTS statement will be added
584 * as first line to the log when creating a view.
586 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
588 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
591 * Whether a DROP TABLE IF EXISTS statement will be added
592 * as first line to the log when creating a table.
594 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
596 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
599 * Whether a DROP DATABASE IF EXISTS statement will be added
600 * as first line to the log when creating a database.
602 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
604 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
607 * Default server (0 = no default server)
609 * If you have more than one server configured, you can set $cfg['ServerDefault']
610 * to any one of them to auto-connect to that server when phpMyAdmin is started,
611 * or set it to 0 to be given a list of servers without logging in
612 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
613 * set to that server.
615 * @global integer $cfg['ServerDefault']
617 $cfg['ServerDefault'] = 1;
620 * Other core phpMyAdmin settings
624 * whether version check is active
626 * @global boolean $cfg['VersionCheck']
628 if (defined('VERSION_CHECK_DEFAULT')) {
629 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
630 } else {
631 $cfg['VersionCheck'] = true;
635 * The url of the proxy to be used when retrieving the information about
636 * the latest version of phpMyAdmin or error reporting. You need this if
637 * the server where phpMyAdmin is installed does not have direct access to
638 * the internet.
639 * The format is: "hostname:portnumber"
641 * @global string $cfg['ProxyUrl']
643 $cfg['ProxyUrl'] = "";
646 * The username for authenticating with the proxy. By default, no
647 * authentication is performed. If a username is supplied, Basic
648 * Authentication will be performed. No other types of authentication
649 * are currently supported.
651 * @global string $cfg['ProxyUser']
653 $cfg['ProxyUser'] = "";
656 * The password for authenticating with the proxy.
658 * @global string $cfg['ProxyPass']
660 $cfg['ProxyPass'] = "";
663 * maximum number of db's displayed in database list
665 * @global integer $cfg['MaxDbList']
667 $cfg['MaxDbList'] = 100;
670 * maximum number of tables displayed in table list
672 * @global integer $cfg['MaxTableList']
674 $cfg['MaxTableList'] = 250;
677 * whether to show hint or not
679 * @global boolean $cfg['ShowHint']
681 $cfg['ShowHint'] = true;
684 * maximum number of characters when a SQL query is displayed
686 * @global integer $cfg['MaxCharactersInDisplayedSQL']
688 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
691 * use GZIP output buffering if possible (true|false|'auto')
693 * @global string $cfg['OBGzip']
695 $cfg['OBGzip'] = 'auto';
698 * use persistent connections to MySQL database
700 * @global boolean $cfg['PersistentConnections']
702 $cfg['PersistentConnections'] = false;
705 * maximum execution time in seconds (0 for no limit)
707 * @global integer $cfg['ExecTimeLimit']
709 $cfg['ExecTimeLimit'] = 300;
712 * Path for storing session data (session_save_path PHP parameter).
714 * @global integer $cfg['SessionSavePath']
716 $cfg['SessionSavePath'] = '';
719 * maximum allocated bytes ('-1' for no limit, '0' for no change)
720 * this is a string because '16M' is a valid value; we must put here
721 * a string as the default value so that /setup accepts strings
723 * @global string $cfg['MemoryLimit']
725 $cfg['MemoryLimit'] = '-1';
728 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
730 * @global boolean $cfg['SkipLockedTables']
732 $cfg['SkipLockedTables'] = false;
735 * show SQL queries as run
737 * @global boolean $cfg['ShowSQL']
739 $cfg['ShowSQL'] = true;
742 * retain SQL input on Ajax execute
744 * @global boolean $cfg['RetainQueryEditor']
746 $cfg['RetainQueryBox'] = false;
749 * use CodeMirror syntax highlighting for editing SQL
751 * @global boolean $cfg['CodemirrorEnable']
753 $cfg['CodemirrorEnable'] = true;
756 * use the parser to find any errors in the query before executing
758 * @global boolean $cfg['LintEnable']
760 $cfg['LintEnable'] = true;
763 * show a 'Drop database' link to normal users
765 * @global boolean $cfg['AllowUserDropDatabase']
767 $cfg['AllowUserDropDatabase'] = false;
770 * confirm some commands that can result in loss of data
772 * @global boolean $cfg['Confirm']
774 $cfg['Confirm'] = true;
777 * recall previous login in cookie authentication mode or not
779 * @global boolean $cfg['LoginCookieRecall']
781 $cfg['LoginCookieRecall'] = true;
784 * validity of cookie login (in seconds; 1440 matches php.ini's
785 * session.gc_maxlifetime)
787 * @global integer $cfg['LoginCookieValidity']
789 $cfg['LoginCookieValidity'] = 1440;
792 * how long login cookie should be stored (in seconds)
794 * @global integer $cfg['LoginCookieStore']
796 $cfg['LoginCookieStore'] = 0;
799 * whether to delete all login cookies on logout
801 * @global boolean $cfg['LoginCookieDeleteAll']
803 $cfg['LoginCookieDeleteAll'] = true;
806 * whether to enable the "database search" feature or not
808 * @global boolean $cfg['UseDbSearch']
810 $cfg['UseDbSearch'] = true;
813 * if set to true, PMA continues computing multiple-statement queries
814 * even if one of the queries failed
816 * @global boolean $cfg['IgnoreMultiSubmitErrors']
818 $cfg['IgnoreMultiSubmitErrors'] = false;
821 * allow login to any user entered server in cookie based authentication
823 * @global boolean $cfg['AllowArbitraryServer']
825 $cfg['AllowArbitraryServer'] = false;
828 * restrict by IP (with regular expression) the MySQL servers the user can enter
829 * when $cfg['AllowArbitraryServer'] = true
831 * @global string $cfg['ArbitraryServerRegexp']
833 $cfg['ArbitraryServerRegexp'] = '';
836 * if reCaptcha is enabled it needs public key to connect with the service
838 * @global string $cfg['CaptchaLoginPublicKey']
840 $cfg['CaptchaLoginPublicKey'] = '';
843 * if reCaptcha is enabled it needs private key to connect with the service
845 * @global string $cfg['CaptchaLoginPrivateKey']
847 $cfg['CaptchaLoginPrivateKey'] = '';
849 /*******************************************************************************
850 * Navigation panel setup
854 * In the navigation panel, replaces the database tree with a selector
856 * @global boolean $cfg['ShowDatabasesNavigationAsTree']
858 $cfg['ShowDatabasesNavigationAsTree'] = true;
861 * maximum number of first level databases displayed in navigation panel
863 * @global integer $cfg['FirstLevelNavigationItems']
865 $cfg['FirstLevelNavigationItems'] = 100;
868 * maximum number of items displayed in navigation panel
870 * @global integer $cfg['MaxNavigationItems']
872 $cfg['MaxNavigationItems'] = 50;
875 * turn the select-based light menu into a tree
877 * @global boolean $cfg['NavigationTreeEnableGrouping']
879 $cfg['NavigationTreeEnableGrouping'] = true;
882 * the separator to sub-tree the select-based light menu tree
884 * @global string $cfg['NavigationTreeDbSeparator']
886 $cfg['NavigationTreeDbSeparator'] = '_';
889 * Which string will be used to generate table prefixes
890 * to split/nest tables into multiple categories
892 * @global string $cfg['NavigationTreeTableSeparator']
894 $cfg['NavigationTreeTableSeparator'] = '__';
897 * How many sublevels should be displayed when splitting up tables
898 * by the above Separator
900 * @global integer $cfg['NavigationTreeTableLevel']
902 $cfg['NavigationTreeTableLevel'] = 1;
905 * link with main panel by highlighting the current db/table
907 * @global boolean $cfg['NavigationLinkWithMainPanel']
909 $cfg['NavigationLinkWithMainPanel'] = true;
912 * display logo at top of navigation panel
914 * @global boolean $cfg['NavigationDisplayLogo']
916 $cfg['NavigationDisplayLogo'] = true;
919 * where should logo link point to (can also contain an external URL)
921 * @global string $cfg['NavigationLogoLink']
923 $cfg['NavigationLogoLink'] = 'index.php';
926 * whether to open the linked page in the main window ('main') or
927 * in a new window ('new')
929 * @global string $cfg['NavigationLogoLinkWindow']
931 $cfg['NavigationLogoLinkWindow'] = 'main';
934 * number of recently used tables displayed in the navigation panel
936 * @global integer $cfg['NumRecentTables']
938 $cfg['NumRecentTables'] = 10;
941 * number of favorite tables displayed in the navigation panel
943 * @global integer $cfg['NumFavoriteTables']
945 $cfg['NumFavoriteTables'] = 10;
948 * display a JavaScript table filter in the navigation panel
949 * when more then x tables are present
951 * @global boolean $cfg['NavigationTreeDisplayItemFilterMinimum']
953 $cfg['NavigationTreeDisplayItemFilterMinimum'] = 30;
956 * display server choice at top of navigation panel
958 * @global boolean $cfg['NavigationDisplayServers']
960 $cfg['NavigationDisplayServers'] = true;
963 * server choice as links
965 * @global boolean $cfg['DisplayServersList']
967 $cfg['DisplayServersList'] = false;
970 * display a JavaScript database filter in the navigation panel
971 * when more then x databases are present
973 * @global boolean $cfg['NavigationTreeDisplayDbFilterMinimum']
975 $cfg['NavigationTreeDisplayDbFilterMinimum'] = 30;
978 * target of the navigation panel quick access icon
980 * Possible values:
981 * 'structure.php' = fields list
982 * 'sql' = SQL form
983 * 'search' = search page
984 * 'insert' = insert row page
985 * 'browse' = browse page
987 * @global string $cfg['NavigationTreeDefaultTabTable']
989 $cfg['NavigationTreeDefaultTabTable'] = 'structure';
992 * target of the navigation panel quick second access icon
994 * Possible values:
995 * 'structure' = fields list
996 * 'sql' = SQL form
997 * 'search' = search page
998 * 'insert' = insert row page
999 * 'browse' = browse page
1000 * '' = no link
1002 * @global string $cfg['NavigationTreeDefaultTabTable2']
1004 $cfg['NavigationTreeDefaultTabTable2'] = '';
1007 * Enables the possibility of navigation tree expansion
1009 * @global boolean $cfg['NavigationTreeEnableExpansion']
1011 $cfg['NavigationTreeEnableExpansion'] = true;
1014 * Show tables in navigation panel
1016 * @global boolean $cfg['NavigationTreeShowTables']
1018 $cfg['NavigationTreeShowTables'] = true;
1021 * Show views in navigation panel
1023 * @global boolean $cfg['NavigationTreeShowViews']
1025 $cfg['NavigationTreeShowViews'] = true;
1028 * Show functions in navigation panel
1030 * @global boolean $cfg['NavigationTreeShowFunctions']
1032 $cfg['NavigationTreeShowFunctions'] = true;
1035 * Show procedures in navigation panel
1037 * @global boolean $cfg['NavigationTreeShowProcedures']
1039 $cfg['NavigationTreeShowProcedures'] = true;
1042 * Show events in navigation panel
1044 * @global boolean $cfg['NavigationTreeShowEvents']
1046 $cfg['NavigationTreeShowEvents'] = true;
1049 * Width of navigation panel
1051 * @global integer $cfg['NavigationWidth']
1053 $cfg['NavigationWidth'] = 240;
1055 /*******************************************************************************
1056 * In the main panel, at startup...
1060 * allow to display statistics and space usage in the pages about database
1061 * details and table properties
1063 * @global boolean $cfg['ShowStats']
1065 $cfg['ShowStats'] = true;
1068 * show PHP info link
1070 * @global boolean $cfg['ShowPhpInfo']
1072 $cfg['ShowPhpInfo'] = false;
1075 * show MySQL server and web server information
1077 * @global boolean $cfg['ShowServerInfo']
1079 $cfg['ShowServerInfo'] = true;
1082 * show change password link
1084 * @global boolean $cfg['ShowChgPassword']
1086 $cfg['ShowChgPassword'] = true;
1089 * show create database form
1091 * @global boolean $cfg['ShowCreateDb']
1093 $cfg['ShowCreateDb'] = true;
1096 /*******************************************************************************
1097 * Database structure
1100 /** show charset column in database structure (true|false)?
1102 * @global boolean $cfg['ShowDbStructureCharset']
1104 $cfg['ShowDbStructureCharset'] = false;
1107 * show comment column in database structure (true|false)?
1109 * @global boolean $cfg['ShowDbStructureComment']
1111 $cfg['ShowDbStructureComment'] = false;
1114 * show creation timestamp column in database structure (true|false)?
1116 * @global boolean $cfg['ShowDbStructureCreation']
1118 $cfg['ShowDbStructureCreation'] = false;
1121 * show last update timestamp column in database structure (true|false)?
1123 * @global boolean $cfg['ShowDbStructureLastUpdate']
1125 $cfg['ShowDbStructureLastUpdate'] = false;
1128 * show last check timestamp column in database structure (true|false)?
1130 * @global boolean $cfg['ShowDbStructureLastCheck']
1132 $cfg['ShowDbStructureLastCheck'] = false;
1135 * allow hide action columns to drop down menu in database structure (true|false)?
1137 * @global boolean $cfg['HideStructureActions']
1139 $cfg['HideStructureActions'] = true;
1142 * Show column comments in table structure view (true|false)?
1144 * @global boolean $cfg['ShowColumnComments']
1146 $cfg['ShowColumnComments'] = true;
1149 /*******************************************************************************
1150 * In browse mode...
1154 * Use icons instead of text for the navigation bar buttons (table browse)
1155 * ('text'|'icons'|'both')
1157 * @global string $cfg['TableNavigationLinksMode']
1159 $cfg['TableNavigationLinksMode'] = 'icons';
1162 * Defines whether a user should be displayed a "show all (records)"
1163 * button in browse mode or not.
1165 * @global boolean $cfg['ShowAll']
1167 $cfg['ShowAll'] = false;
1170 * Number of rows displayed when browsing a result set. If the result
1171 * set contains more rows, "Previous" and "Next".
1172 * Possible values: 25,50,100,250,500
1174 * @global integer $cfg['MaxRows']
1176 $cfg['MaxRows'] = 25;
1179 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
1180 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
1181 * ascending order else-)
1183 * @global string $cfg['Order']
1185 $cfg['Order'] = 'SMART';
1188 * grid editing: save edited cell(s) in browse-mode at once
1190 * @global boolean $cfg['SaveCellsAtOnce']
1192 $cfg['SaveCellsAtOnce'] = false;
1195 * grid editing: which action triggers it, or completely disable the feature
1197 * Possible values:
1198 * 'click'
1199 * 'double-click'
1200 * 'disabled'
1202 * @global string $cfg['GridEditing']
1204 $cfg['GridEditing'] ='double-click';
1207 * Options > Relational display
1209 * Possible values:
1210 * 'K' for key value
1211 * 'D' for display column
1213 * @global string $cfg['RelationalDisplay']
1216 $cfg['RelationalDisplay'] = 'K';
1219 /*******************************************************************************
1220 * In edit mode...
1224 * disallow editing of binary fields
1225 * valid values are:
1226 * false allow editing
1227 * 'blob' allow editing except for BLOB fields
1228 * 'noblob' disallow editing except for BLOB fields
1229 * 'all' disallow editing
1231 * @global string $cfg['ProtectBinary']
1233 $cfg['ProtectBinary'] = 'blob';
1236 * Display the function fields in edit/insert mode
1238 * @global boolean $cfg['ShowFunctionFields']
1240 $cfg['ShowFunctionFields'] = true;
1243 * Display the type fields in edit/insert mode
1245 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1247 $cfg['ShowFieldTypesInDataEditView'] = true;
1250 * Which editor should be used for CHAR/VARCHAR fields:
1251 * input - allows limiting of input length
1252 * textarea - allows newlines in fields
1254 * @global string $cfg['CharEditing']
1256 $cfg['CharEditing'] = 'input';
1259 * The minimum size for character input fields
1261 * @global integer $cfg['MinSizeForInputField']
1263 $cfg['MinSizeForInputField'] = 4;
1266 * The maximum size for character input fields
1268 * @global integer $cfg['MinSizeForInputField']
1270 $cfg['MaxSizeForInputField'] = 60;
1273 * How many rows can be inserted at one time
1275 * @global integer $cfg['InsertRows']
1277 $cfg['InsertRows'] = 2;
1280 * Sort order for items in a foreign-key drop-down list.
1281 * 'content' is the referenced data, 'id' is the key value.
1283 * @global array $cfg['ForeignKeyDropdownOrder']
1285 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
1288 * A drop-down list will be used if fewer items are present
1290 * @global integer $cfg['ForeignKeyMaxLimit']
1292 $cfg['ForeignKeyMaxLimit'] = 100;
1295 * Whether to disable foreign key checks while importing
1297 * @global boolean $cfg['DefaultForeignKeyChecks']
1299 $cfg['DefaultForeignKeyChecks'] = 'default';
1301 /*******************************************************************************
1302 * For the export features...
1306 * Allow for the use of zip compression (requires zip support to be enabled)
1308 * @global boolean $cfg['ZipDump']
1310 $cfg['ZipDump'] = true;
1313 * Allow for the use of gzip compression (requires zlib)
1315 * @global boolean $cfg['GZipDump']
1317 $cfg['GZipDump'] = true;
1320 * Allow for the use of bzip2 decompression (requires bz2 extension)
1322 * @global boolean $cfg['BZipDump']
1324 $cfg['BZipDump'] = true;
1327 * Will compress gzip exports on the fly without the need for much memory.
1328 * If you encounter problems with created gzip files disable this feature.
1330 * @global boolean $cfg['CompressOnFly']
1332 $cfg['CompressOnFly'] = true;
1335 /*******************************************************************************
1336 * Tabs display settings
1340 * How to display the menu tabs ('icons'|'text'|'both')
1342 * @global boolean $cfg['TabsMode']
1344 $cfg['TabsMode'] = 'both';
1347 * How to display various action links ('icons'|'text'|'both')
1349 * @global boolean $cfg['ActionLinksMode']
1351 $cfg['ActionLinksMode'] = 'both';
1354 * How many columns should be used for table display of a database?
1355 * (a value larger than 1 results in some information being hidden)
1357 * @global integer $cfg['PropertiesNumColumns']
1359 $cfg['PropertiesNumColumns'] = 1;
1362 * Possible values:
1363 * 'welcome' = the welcome page
1364 * (recommended for multiuser setups)
1365 * 'databases' = list of databases
1366 * 'status' = runtime information
1367 * 'variables' = MySQL server variables
1368 * 'privileges' = user management
1370 * @global string $cfg['DefaultTabServer']
1372 $cfg['DefaultTabServer'] = 'welcome';
1375 * Possible values:
1376 * 'structure' = tables list
1377 * 'sql' = SQL form
1378 * 'search' = search query
1379 * 'operations' = operations on database
1381 * @global string $cfg['DefaultTabDatabase']
1383 $cfg['DefaultTabDatabase'] = 'structure';
1386 * Possible values:
1387 * 'structure' = fields list
1388 * 'sql' = SQL form
1389 * 'search' = search page
1390 * 'insert' = insert row page
1391 * 'browse' = browse page
1393 * @global string $cfg['DefaultTabTable']
1395 $cfg['DefaultTabTable'] = 'browse';
1398 * Whether to display image or text or both image and text in table row
1399 * action segment. Value can be either of ``image``, ``text`` or ``both``.
1401 $cfg['RowActionType'] = 'both';
1403 /*******************************************************************************
1404 * Export defaults
1406 $cfg['Export'] = array();
1409 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xml/yaml
1411 * @global string $cfg['Export']['format']
1413 $cfg['Export']['format'] = 'sql';
1416 * quick/custom/custom-no-form
1418 * @global string $cfg['Export']['format']
1420 $cfg['Export']['method'] = 'quick';
1423 * none/zip/gzip
1425 * @global string $cfg['Export']['compression']
1427 $cfg['Export']['compression'] = 'none';
1430 * Whether to LOCK TABLES before exporting
1432 * @global boolean $cfg['Export']['lock_tables']
1434 $cfg['Export']['lock_tables'] = false;
1437 * Whether to export databases/tables as separate files
1439 * @global boolean $cfg['Export']['as_separate_files']
1441 $cfg['Export']['as_separate_files'] = false;
1446 * @global boolean $cfg['Export']['asfile']
1448 $cfg['Export']['asfile'] = true;
1453 * @global string $cfg['Export']['charset']
1455 $cfg['Export']['charset'] = '';
1460 * @global boolean $cfg['Export']['onserver']
1462 $cfg['Export']['onserver'] = false;
1467 * @global boolean $cfg['Export']['onserver_overwrite']
1469 $cfg['Export']['onserver_overwrite'] = false;
1474 * @global boolean $cfg['Export']['quick_export_onserver']
1476 $cfg['Export']['quick_export_onserver'] = false;
1481 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1483 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1488 * @global boolean $cfg['Export']['remember_file_template']
1490 $cfg['Export']['remember_file_template'] = true;
1495 * @global string $cfg['Export']['file_template_table']
1497 $cfg['Export']['file_template_table'] = '@TABLE@';
1502 * @global string $cfg['Export']['file_template_database']
1504 $cfg['Export']['file_template_database'] = '@DATABASE@';
1509 * @global string $cfg['Export']['file_template_server']
1511 $cfg['Export']['file_template_server'] = '@SERVER@';
1516 * @global string $cfg['Export']['codegen_structure_or_data']
1518 $cfg['Export']['codegen_structure_or_data'] = 'data';
1523 * @global $cfg['Export']['codegen_format']
1525 $cfg['Export']['codegen_format'] = 0;
1530 * @global boolean $cfg['Export']['ods_columns']
1532 $cfg['Export']['ods_columns'] = false;
1537 * @global string $cfg['Export']['ods_null']
1539 $cfg['Export']['ods_null'] = 'NULL';
1544 * @global string $cfg['Export']['odt_structure_or_data']
1546 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1551 * @global boolean $cfg['Export']['odt_columns']
1553 $cfg['Export']['odt_columns'] = true;
1558 * @global boolean $cfg['Export']['odt_relation']
1560 $cfg['Export']['odt_relation'] = true;
1565 * @global boolean $cfg['Export']['odt_comments']
1567 $cfg['Export']['odt_comments'] = true;
1572 * @global boolean $cfg['Export']['odt_mime']
1574 $cfg['Export']['odt_mime'] = true;
1579 * @global string $cfg['Export']['odt_null']
1581 $cfg['Export']['odt_null'] = 'NULL';
1586 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1588 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1593 * @global boolean $cfg['Export']['htmlword_columns']
1595 $cfg['Export']['htmlword_columns'] = false;
1600 * @global string $cfg['Export']['htmlword_null']
1602 $cfg['Export']['htmlword_null'] = 'NULL';
1607 * @global string $cfg['Export']['texytext_structure_or_data']
1609 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1614 * @global boolean $cfg['Export']['texytext_columns']
1616 $cfg['Export']['texytext_columns'] = false;
1621 * @global string $cfg['Export']['texytext_null']
1623 $cfg['Export']['texytext_null'] = 'NULL';
1628 * @global boolean $cfg['Export']['csv_columns']
1630 $cfg['Export']['csv_columns'] = false;
1635 * @global string $cfg['Export']['csv_structure_or_data']
1637 $cfg['Export']['csv_structure_or_data'] = 'data';
1642 * @global string $cfg['Export']['csv_null']
1644 $cfg['Export']['csv_null'] = 'NULL';
1649 * @global string $cfg['Export']['csv_separator']
1651 $cfg['Export']['csv_separator'] = ',';
1656 * @global string $cfg['Export']['csv_enclosed']
1658 $cfg['Export']['csv_enclosed'] = '"';
1663 * @global string $cfg['Export']['csv_escaped']
1665 $cfg['Export']['csv_escaped'] = '"';
1670 * @global string $cfg['Export']['csv_terminated']
1672 $cfg['Export']['csv_terminated'] = 'AUTO';
1677 * @global string $cfg['Export']['csv_removeCRLF']
1679 $cfg['Export']['csv_removeCRLF'] = false;
1684 * @global boolean $cfg['Export']['excel_columns']
1686 $cfg['Export']['excel_columns'] = true;
1691 * @global string $cfg['Export']['excel_null']
1693 $cfg['Export']['excel_null'] = 'NULL';
1696 * win/mac
1698 * @global string $cfg['Export']['excel_edition']
1700 $cfg['Export']['excel_edition'] = 'win';
1705 * @global string $cfg['Export']['excel_removeCRLF']
1707 $cfg['Export']['excel_removeCRLF'] = false;
1712 * @global string $cfg['Export']['excel_structure_or_data']
1714 $cfg['Export']['excel_structure_or_data'] = 'data';
1719 * @global string $cfg['Export']['latex_structure_or_data']
1721 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1726 * @global boolean $cfg['Export']['latex_columns']
1728 $cfg['Export']['latex_columns'] = true;
1733 * @global boolean $cfg['Export']['latex_relation']
1735 $cfg['Export']['latex_relation'] = true;
1740 * @global boolean $cfg['Export']['latex_comments']
1742 $cfg['Export']['latex_comments'] = true;
1747 * @global boolean $cfg['Export']['latex_mime']
1749 $cfg['Export']['latex_mime'] = true;
1754 * @global string $cfg['Export']['latex_null']
1756 $cfg['Export']['latex_null'] = '\textit{NULL}';
1761 * @global boolean $cfg['Export']['latex_caption']
1763 $cfg['Export']['latex_caption'] = true;
1768 * @global string $cfg['Export']['latex_structure_caption']
1770 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1775 * @global string $cfg['Export']['latex_structure_continued_caption']
1777 $cfg['Export']['latex_structure_continued_caption']
1778 = 'strLatexStructure strLatexContinued';
1783 * @global string $cfg['Export']['latex_data_caption']
1785 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1790 * @global string $cfg['Export']['latex_data_continued_caption']
1792 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1797 * @global string $cfg['Export']['latex_data_label']
1799 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1804 * @global string $cfg['Export']['latex_structure_label']
1806 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1811 * @global string $cfg['Export']['mediawiki_structure_or_data']
1813 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1818 * @global boolean $cfg['Export']['mediawiki_caption']
1820 $cfg['Export']['mediawiki_caption'] = true;
1825 * @global boolean $cfg['Export']['mediawiki_headers']
1827 $cfg['Export']['mediawiki_headers'] = true;
1832 * @global string $cfg['Export']['ods_structure_or_data']
1834 $cfg['Export']['ods_structure_or_data'] = 'data';
1839 * @global string $cfg['Export']['pdf_structure_or_data']
1841 $cfg['Export']['pdf_structure_or_data'] = 'data';
1846 * @global string $cfg['Export']['phparray_structure_or_data']
1848 $cfg['Export']['phparray_structure_or_data'] = 'data';
1853 * @global string $cfg['Export']['json_structure_or_data']
1855 $cfg['Export']['json_structure_or_data'] = 'data';
1858 * Export functions
1860 * @global string $cfg['Export']['json_pretty_print']
1862 $cfg['Export']['json_pretty_print'] = false;
1865 * Export functions
1867 * @global string $cfg['Export']['json_unicode']
1869 $cfg['Export']['json_unicode'] = true;
1874 * @global string $cfg['Export']['sql_structure_or_data']
1876 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1881 * @global string $cfg['Export']['sql_compatibility']
1883 $cfg['Export']['sql_compatibility'] = 'NONE';
1886 * Whether to include comments in SQL export.
1888 * @global string $cfg['Export']['sql_include_comments']
1890 $cfg['Export']['sql_include_comments'] = true;
1895 * @global boolean $cfg['Export']['sql_disable_fk']
1897 $cfg['Export']['sql_disable_fk'] = false;
1902 * @global boolean $cfg['Export']['sql_views_as_tables']
1904 $cfg['Export']['sql_views_as_tables'] = false;
1909 * @global boolean $cfg['Export']['sql_metadata']
1911 $cfg['Export']['sql_metadata'] = false;
1916 * @global boolean $cfg['Export']['sql_use_transaction']
1918 $cfg['Export']['sql_use_transaction'] = true;
1923 * @global boolean $cfg['Export']['sql_create_database']
1925 $cfg['Export']['sql_create_database'] = false;
1930 * @global boolean $cfg['Export']['sql_drop_database']
1932 $cfg['Export']['sql_drop_database'] = false;
1937 * @global boolean $cfg['Export']['sql_drop_table']
1939 $cfg['Export']['sql_drop_table'] = false;
1944 * true by default for correct behavior when dealing with exporting
1945 * of VIEWs and the stand-in table
1946 * @global boolean $cfg['Export']['sql_if_not_exists']
1948 $cfg['Export']['sql_if_not_exists'] = false;
1953 * @global boolean $cfg['Export']['sql_procedure_function']
1955 $cfg['Export']['sql_procedure_function'] = true;
1960 * @global boolean $cfg['Export']['sql_create_table']
1962 $cfg['Export']['sql_create_table'] = true;
1967 * @global boolean $cfg['Export']['sql_create_view']
1969 $cfg['Export']['sql_create_view'] = true;
1974 * @global boolean $cfg['Export']['sql_create_trigger']
1976 $cfg['Export']['sql_create_trigger'] = true;
1981 * @global boolean $cfg['Export']['sql_auto_increment']
1983 $cfg['Export']['sql_auto_increment'] = true;
1988 * @global boolean $cfg['Export']['sql_backquotes']
1990 $cfg['Export']['sql_backquotes'] = true;
1995 * @global boolean $cfg['Export']['sql_dates']
1997 $cfg['Export']['sql_dates'] = false;
2002 * @global boolean $cfg['Export']['sql_relation']
2004 $cfg['Export']['sql_relation'] = false;
2009 * @global boolean $cfg['Export']['sql_truncate']
2011 $cfg['Export']['sql_truncate'] = false;
2016 * @global boolean $cfg['Export']['sql_delayed']
2018 $cfg['Export']['sql_delayed'] = false;
2023 * @global boolean $cfg['Export']['sql_ignore']
2025 $cfg['Export']['sql_ignore'] = false;
2028 * Export time in UTC.
2030 * @global boolean $cfg['Export']['sql_utc_time']
2032 $cfg['Export']['sql_utc_time'] = true;
2037 * @global boolean $cfg['Export']['sql_hex_for_binary']
2039 $cfg['Export']['sql_hex_for_binary'] = true;
2042 * insert/update/replace
2044 * @global string $cfg['Export']['sql_type']
2046 $cfg['Export']['sql_type'] = 'INSERT';
2051 * @global integer $cfg['Export']['sql_max_query_size']
2053 $cfg['Export']['sql_max_query_size'] = 50000;
2058 * @global boolean $cfg['Export']['sql_mime']
2060 $cfg['Export']['sql_mime'] = false;
2063 * \n is replaced by new line
2065 * @global string $cfg['Export']['sql_header_comment']
2067 $cfg['Export']['sql_header_comment'] = '';
2070 * Whether to use complete inserts, extended inserts, both, or neither
2072 * @global string $cfg['Export']['sql_insert_syntax']
2074 $cfg['Export']['sql_insert_syntax'] = 'both';
2079 * @global string $cfg['Export']['pdf_report_title']
2081 $cfg['Export']['pdf_report_title'] = '';
2086 *@global string $cfg['Export']['xml_structure_or_data']
2088 $cfg['Export']['xml_structure_or_data'] = 'data';
2091 * Export schema for each structure
2093 * @global string $cfg['Export']['xml_export_struc']
2095 $cfg['Export']['xml_export_struc'] = true;
2098 * Export events
2100 * @global string $cfg['Export']['xml_export_events']
2102 $cfg['Export']['xml_export_events'] = true;
2105 * Export functions
2107 * @global string $cfg['Export']['xml_export_functions']
2109 $cfg['Export']['xml_export_functions'] = true;
2112 * Export procedures
2114 * @global string $cfg['Export']['xml_export_procedures']
2116 $cfg['Export']['xml_export_procedures'] = true;
2119 * Export schema for each table
2121 * @global string $cfg['Export']['xml_export_tables']
2123 $cfg['Export']['xml_export_tables'] = true;
2126 * Export triggers
2128 * @global string $cfg['Export']['xml_export_triggers']
2130 $cfg['Export']['xml_export_triggers'] = true;
2133 * Export views
2135 * @global string $cfg['Export']['xml_export_views']
2137 $cfg['Export']['xml_export_views'] = true;
2140 * Export contents data
2142 * @global string $cfg['Export']['xml_export_contents']
2144 $cfg['Export']['xml_export_contents'] = true;
2149 * @global string $cfg['Export']['yaml_structure_or_data']
2151 $cfg['Export']['yaml_structure_or_data'] = 'data';
2153 /*******************************************************************************
2154 * Import defaults
2156 $cfg['Import'] = array();
2161 * @global string $cfg['Import']['format']
2163 $cfg['Import']['format'] = 'sql';
2166 * Default charset for import.
2168 * @global string $cfg['Import']['charset']
2170 $cfg['Import']['charset'] = '';
2175 * @global boolean $cfg['Import']['allow_interrupt']
2177 $cfg['Import']['allow_interrupt'] = true;
2182 * @global integer $cfg['Import']['skip_queries']
2184 $cfg['Import']['skip_queries'] = 0;
2189 * @global string $cfg['Import']['sql_compatibility']
2191 $cfg['Import']['sql_compatibility'] = 'NONE';
2196 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
2198 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
2203 * @global string $cfg['Import']['sql_read_as_multibytes']
2205 $cfg['Import']['sql_read_as_multibytes'] = false;
2210 * @global boolean $cfg['Import']['csv_replace']
2212 $cfg['Import']['csv_replace'] = false;
2217 * @global boolean $cfg['Import']['csv_ignore']
2219 $cfg['Import']['csv_ignore'] = false;
2224 * @global string $cfg['Import']['csv_terminated']
2226 $cfg['Import']['csv_terminated'] = ',';
2231 * @global string $cfg['Import']['csv_enclosed']
2233 $cfg['Import']['csv_enclosed'] = '"';
2238 * @global string $cfg['Import']['csv_escaped']
2240 $cfg['Import']['csv_escaped'] = '"';
2245 * @global string $cfg['Import']['csv_new_line']
2247 $cfg['Import']['csv_new_line'] = 'auto';
2252 * @global string $cfg['Import']['csv_columns']
2254 $cfg['Import']['csv_columns'] = '';
2259 * @global string $cfg['Import']['csv_col_names']
2261 $cfg['Import']['csv_col_names'] = false;
2266 * @global boolean $cfg['Import']['ldi_replace']
2268 $cfg['Import']['ldi_replace'] = false;
2273 * @global boolean $cfg['Import']['ldi_ignore']
2275 $cfg['Import']['ldi_ignore'] = false;
2280 * @global string $cfg['Import']['ldi_terminated']
2282 $cfg['Import']['ldi_terminated'] = ';';
2287 * @global string $cfg['Import']['ldi_enclosed']
2289 $cfg['Import']['ldi_enclosed'] = '"';
2294 * @global string $cfg['Import']['ldi_escaped']
2296 $cfg['Import']['ldi_escaped'] = '\\';
2301 * @global string $cfg['Import']['ldi_new_line']
2303 $cfg['Import']['ldi_new_line'] = 'auto';
2308 * @global string $cfg['Import']['ldi_columns']
2310 $cfg['Import']['ldi_columns'] = '';
2313 * 'auto' for auto-detection, true or false for forcing
2315 * @global string $cfg['Import']['ldi_local_option']
2317 $cfg['Import']['ldi_local_option'] = 'auto';
2322 * @global string $cfg['Import']['ods_col_names']
2324 $cfg['Import']['ods_col_names'] = false;
2329 * @global string $cfg['Import']['ods_empty_rows']
2331 $cfg['Import']['ods_empty_rows'] = true;
2336 * @global string $cfg['Import']['ods_recognize_percentages']
2338 $cfg['Import']['ods_recognize_percentages'] = true;
2343 * @global string $cfg['Import']['ods_recognize_currency']
2345 $cfg['Import']['ods_recognize_currency'] = true;
2347 /*******************************************************************************
2348 * Schema export defaults
2350 $cfg['Schema'] = array();
2353 * pdf/eps/dia/svg
2355 * @global string $cfg['Schema']['format']
2357 $cfg['Schema']['format'] = 'pdf';
2362 * @global string $cfg['Schema']['pdf_show_color']
2364 $cfg['Schema']['pdf_show_color'] = true;
2369 * @global string $cfg['Schema']['pdf_show_keys']
2371 $cfg['Schema']['pdf_show_keys'] = false;
2376 * @global string $cfg['Schema']['pdf_all_tables_same_width']
2378 $cfg['Schema']['pdf_all_tables_same_width'] = false;
2381 * L/P
2383 * @global string $cfg['Schema']['pdf_orientation']
2385 $cfg['Schema']['pdf_orientation'] = 'L';
2390 * @global string $cfg['Schema']['pdf_paper']
2392 $cfg['Schema']['pdf_paper'] = 'A4';
2397 * @global string $cfg['Schema']['pdf_show_grid']
2399 $cfg['Schema']['pdf_show_grid'] = false;
2404 * @global string $cfg['Schema']['pdf_with_doc']
2406 $cfg['Schema']['pdf_with_doc'] = true;
2411 * @global string $cfg['Schema']['pdf_table_order']
2413 $cfg['Schema']['pdf_table_order'] = '';
2418 * @global string $cfg['Schema']['dia_show_color']
2420 $cfg['Schema']['dia_show_color'] = true;
2425 * @global string $cfg['Schema']['dia_show_keys']
2427 $cfg['Schema']['dia_show_keys'] = false;
2430 * L/P
2432 * @global string $cfg['Schema']['dia_orientation']
2434 $cfg['Schema']['dia_orientation'] = 'L';
2439 * @global string $cfg['Schema']['dia_paper']
2441 $cfg['Schema']['dia_paper'] = 'A4';
2446 * @global string $cfg['Schema']['eps_show_color']
2448 $cfg['Schema']['eps_show_color'] = true;
2453 * @global string $cfg['Schema']['eps_show_keys']
2455 $cfg['Schema']['eps_show_keys'] = false;
2460 * @global string $cfg['Schema']['eps_all_tables_same_width']
2462 $cfg['Schema']['eps_all_tables_same_width'] = false;
2465 * L/P
2467 * @global string $cfg['Schema']['eps_orientation']
2469 $cfg['Schema']['eps_orientation'] = 'L';
2474 * @global string $cfg['Schema']['svg_show_color']
2476 $cfg['Schema']['svg_show_color'] = true;
2481 * @global string $cfg['Schema']['svg_show_keys']
2483 $cfg['Schema']['svg_show_keys'] = false;
2488 * @global string $cfg['Schema']['svg_all_tables_same_width']
2490 $cfg['Schema']['svg_all_tables_same_width'] = false;
2492 /*******************************************************************************
2493 * PDF options
2499 * @global array $cfg['PDFPageSizes']
2501 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2506 * @global string $cfg['PDFDefaultPageSize']
2508 $cfg['PDFDefaultPageSize'] = 'A4';
2511 /*******************************************************************************
2512 * Language and character set conversion settings
2516 * Default language to use, if not browser-defined or user-defined
2518 * @global string $cfg['DefaultLang']
2520 $cfg['DefaultLang'] = 'en';
2523 * Default connection collation
2525 * @global string $cfg['DefaultConnectionCollation']
2527 $cfg['DefaultConnectionCollation'] = 'utf8mb4_unicode_ci';
2530 * Force: always use this language, e.g. 'en'
2532 * @global string $cfg['Lang']
2534 $cfg['Lang'] = '';
2537 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2538 * English only
2540 * @global string $cfg['FilterLanguages']
2542 $cfg['FilterLanguages'] = '';
2545 * You can select here which functions will be used for character set conversion.
2546 * Possible values are:
2547 * auto - automatically use available one (first is tested iconv, then
2548 * recode)
2549 * iconv - use iconv or libiconv functions
2550 * recode - use recode_string function
2551 * mb - use mbstring extension
2552 * none - disable encoding conversion
2554 * @global string $cfg['RecodingEngine']
2556 $cfg['RecodingEngine'] = 'auto';
2559 * Specify some parameters for iconv used in character set conversion. See iconv
2560 * documentation for details:
2561 * https://www.gnu.org/savannah-checkouts/gnu/libiconv/documentation/libiconv-1.15/iconv_open.3.html
2563 * @global string $cfg['IconvExtraParams']
2565 $cfg['IconvExtraParams'] = '//TRANSLIT';
2568 * Available character sets for MySQL conversion. currently contains all which could
2569 * be found in lang/* files and few more.
2570 * Character sets will be shown in same order as here listed, so if you frequently
2571 * use some of these move them to the top.
2573 * @global array $cfg['AvailableCharsets']
2575 $cfg['AvailableCharsets'] = array(
2576 'iso-8859-1',
2577 'iso-8859-2',
2578 'iso-8859-3',
2579 'iso-8859-4',
2580 'iso-8859-5',
2581 'iso-8859-6',
2582 'iso-8859-7',
2583 'iso-8859-8',
2584 'iso-8859-9',
2585 'iso-8859-10',
2586 'iso-8859-11',
2587 'iso-8859-12',
2588 'iso-8859-13',
2589 'iso-8859-14',
2590 'iso-8859-15',
2591 'windows-1250',
2592 'windows-1251',
2593 'windows-1252',
2594 'windows-1256',
2595 'windows-1257',
2596 'koi8-r',
2597 'big5',
2598 'gb2312',
2599 'utf-16',
2600 'utf-8',
2601 'utf-7',
2602 'x-user-defined',
2603 'euc-jp',
2604 'ks_c_5601-1987',
2605 'tis-620',
2606 'SHIFT_JIS',
2607 'SJIS',
2608 'SJIS-win',
2612 /*******************************************************************************
2613 * Customization & design
2615 * The graphical settings are now located in themes/theme-name/layout.inc.php
2619 * enable the left panel pointer
2620 * see also LeftPointerColor
2621 * in layout.inc.php
2623 * @global boolean $cfg['NavigationTreePointerEnable']
2625 $cfg['NavigationTreePointerEnable'] = true;
2628 * enable the browse pointer
2629 * see also BrowsePointerColor
2630 * in layout.inc.php
2632 * @global boolean $cfg['BrowsePointerEnable']
2634 $cfg['BrowsePointerEnable'] = true;
2637 * enable the browse marker
2638 * see also BrowseMarkerColor
2639 * in layout.inc.php
2641 * @global boolean $cfg['BrowseMarkerEnable']
2643 $cfg['BrowseMarkerEnable'] = true;
2646 * textarea size (columns) in edit mode
2647 * (this value will be emphasized (*2) for SQL
2648 * query textareas and (*1.25) for query window)
2650 * @global integer $cfg['TextareaCols']
2652 $cfg['TextareaCols'] = 40;
2655 * textarea size (rows) in edit mode
2657 * @global integer $cfg['TextareaRows']
2659 $cfg['TextareaRows'] = 15;
2662 * double size of textarea size for LONGTEXT columns
2664 * @global boolean $cfg['LongtextDoubleTextarea']
2666 $cfg['LongtextDoubleTextarea'] = true;
2669 * auto-select when clicking in the textarea of the query-box
2671 * @global boolean $cfg['TextareaAutoSelect']
2673 $cfg['TextareaAutoSelect'] = false;
2676 * textarea size (columns) for CHAR/VARCHAR
2678 * @global integer $cfg['CharTextareaCols']
2680 $cfg['CharTextareaCols'] = 40;
2683 * textarea size (rows) for CHAR/VARCHAR
2685 * @global integer $cfg['CharTextareaRows']
2687 $cfg['CharTextareaRows'] = 2;
2690 * Max field data length in browse mode for all non-numeric fields
2692 * @global integer $cfg['LimitChars']
2694 $cfg['LimitChars'] = 50;
2697 * Where to show the edit/copy/delete links in browse mode
2698 * Possible values are 'left', 'right', 'both' and 'none'.
2700 * @global string $cfg['RowActionLinks']
2702 $cfg['RowActionLinks'] = 'left';
2705 * Whether to show row links (Edit, Copy, Delete) and checkboxes for
2706 * multiple row operations even when the selection does not have a unique key.
2708 * @global boolean $cfg['RowActionLinksWithoutUnique']
2710 $cfg['RowActionLinksWithoutUnique'] = false;
2713 * Default sort order by primary key.
2714 * @global string $cfg['TablePrimaryKeyOrder']
2716 $cfg['TablePrimaryKeyOrder'] = 'NONE';
2719 * remember the last way a table sorted
2721 * @global string $cfg['RememberSorting']
2723 $cfg['RememberSorting'] = true;
2726 * shows column comments in 'browse' mode.
2728 * @global boolean $cfg['ShowBrowseComments']
2730 $cfg['ShowBrowseComments'] = true;
2733 * shows column comments in 'table property' mode.
2735 * @global boolean $cfg['ShowPropertyComments']
2737 $cfg['ShowPropertyComments']= true;
2740 * repeat header names every X cells? (0 = deactivate)
2742 * @global integer $cfg['RepeatCells']
2744 $cfg['RepeatCells'] = 100;
2747 * Set to true if you want DB-based query history.If false, this utilizes
2748 * JS-routines to display query history (lost by window close)
2750 * @global boolean $cfg['QueryHistoryDB']
2752 $cfg['QueryHistoryDB'] = false;
2755 * When using DB-based query history, how many entries should be kept?
2757 * @global integer $cfg['QueryHistoryMax']
2759 $cfg['QueryHistoryMax'] = 25;
2762 * Use MIME-Types (stored in column comments table) for
2764 * @global boolean $cfg['BrowseMIME']
2766 $cfg['BrowseMIME'] = true;
2769 * When approximate count < this, PMA will get exact count for table rows.
2771 * @global integer $cfg['MaxExactCount']
2773 $cfg['MaxExactCount'] = 50000;
2776 * Zero means that no row count is done for views; see the doc
2778 * @global integer $cfg['MaxExactCountViews']
2780 $cfg['MaxExactCountViews'] = 0;
2783 * Sort table and database in natural order
2785 * @global boolean $cfg['NaturalOrder']
2787 $cfg['NaturalOrder'] = true;
2790 * Initial state for sliders
2791 * (open | closed | disabled)
2793 * @global string $cfg['InitialSlidersState']
2795 $cfg['InitialSlidersState'] = 'closed';
2798 * User preferences: disallow these settings
2799 * For possible setting names look in libraries/config/user_preferences.forms.php
2801 * @global array $cfg['UserprefsDisallow']
2803 $cfg['UserprefsDisallow'] = array();
2806 * User preferences: enable the Developer tab
2808 $cfg['UserprefsDeveloperTab'] = false;
2810 /*******************************************************************************
2811 * Window title settings
2815 * title of browser window when a table is selected
2817 * @global string $cfg['TitleTable']
2819 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2822 * title of browser window when a database is selected
2824 * @global string $cfg['TitleDatabase']
2826 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2829 * title of browser window when a server is selected
2831 * @global string $cfg['TitleServer']
2833 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2836 * title of browser window when nothing is selected
2837 * @global string $cfg['TitleDefault']
2839 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2842 /*******************************************************************************
2843 * theme manager
2847 * if you want to use selectable themes and if ThemesPath not empty
2848 * set it to true, else set it to false (default is false);
2850 * @global boolean $cfg['ThemeManager']
2852 $cfg['ThemeManager'] = true;
2855 * set up default theme, you can set up here an valid
2856 * path to themes or 'original' for the original pma-theme
2858 * @global string $cfg['ThemeDefault']
2860 $cfg['ThemeDefault'] = 'pmahomme';
2863 * allow different theme for each configured server
2865 * @global boolean $cfg['ThemePerServer']
2867 $cfg['ThemePerServer'] = false;
2871 * Font size to use by default
2873 $cfg['FontSize'] = '82%';
2875 /*******************************************************************************
2880 * Default query for table
2882 * @global string $cfg['DefaultQueryTable']
2884 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2887 * Default query for database
2889 * @global string $cfg['DefaultQueryDatabase']
2891 $cfg['DefaultQueryDatabase'] = '';
2894 /*******************************************************************************
2895 * SQL Query box settings
2896 * These are the links display in all of the SQL Query boxes
2898 * @global array $cfg['SQLQuery']
2900 $cfg['SQLQuery'] = array();
2903 * Display an "Edit" link on the results page to change a query
2905 * @global boolean $cfg['SQLQuery']['Edit']
2907 $cfg['SQLQuery']['Edit'] = true;
2910 * Display an "Explain SQL" link on the results page
2912 * @global boolean $cfg['SQLQuery']['Explain']
2914 $cfg['SQLQuery']['Explain'] = true;
2917 * Display a "Create PHP code" link on the results page to wrap a query in PHP
2919 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2921 $cfg['SQLQuery']['ShowAsPHP'] = true;
2924 * Display a "Refresh" link on the results page
2926 * @global boolean $cfg['SQLQuery']['Refresh']
2928 $cfg['SQLQuery']['Refresh'] = true;
2931 * Enables autoComplete for table & column names in SQL queries
2933 * default = 'true'
2935 $cfg['EnableAutocompleteForTablesAndColumns'] = true;
2938 /*******************************************************************************
2939 * Web server upload/save/import directories
2943 * Directory for uploaded files that can be executed by phpMyAdmin.
2944 * For example './upload'. Leave empty for no upload directory support.
2945 * Use %u for username inclusion.
2947 * @global string $cfg['UploadDir']
2949 $cfg['UploadDir'] = '';
2952 * Directory where phpMyAdmin can save exported data on server.
2953 * For example './save'. Leave empty for no save directory support.
2954 * Use %u for username inclusion.
2956 * @global string $cfg['SaveDir']
2958 $cfg['SaveDir'] = '';
2961 * Directory where phpMyAdmin can save temporary files.
2963 * @global string $cfg['TempDir']
2965 if (defined('TEMP_DIR')) {
2966 $cfg['TempDir'] = TEMP_DIR;
2967 } else {
2968 $cfg['TempDir'] = './tmp/';
2973 * Misc. settings
2977 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2978 * which is the only safe way to determine GD version.
2980 * @global string $cfg['GD2Available']
2982 $cfg['GD2Available'] = 'auto';
2985 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2987 * @global array $cfg['TrustedProxies']
2989 $cfg['TrustedProxies'] = array();
2992 * We normally check the permissions on the configuration file to ensure
2993 * it's not world writable. However, phpMyAdmin could be installed on
2994 * a NTFS filesystem mounted on a non-Windows server, in which case the
2995 * permissions seems wrong but in fact cannot be detected. In this case
2996 * a sysadmin would set the following to false.
2998 $cfg['CheckConfigurationPermissions'] = true;
3001 * Limit for length of URL in links. When length would be above this limit, it
3002 * is replaced by form with button.
3003 * This is required as some web servers (IIS) have problems with long URLs.
3004 * The recommended limit is 2000
3005 * (see https://www.boutell.com/newfaq/misc/urllength.html) but we put
3006 * 1000 to accommodate Suhosin, see bug #3358750.
3008 $cfg['LinkLengthLimit'] = 1000;
3011 * Additional string to allow in CSP headers.
3013 $cfg['CSPAllow'] = '';
3016 * Disable the table maintenance mass operations, like optimizing or
3017 * repairing the selected tables of a database. An accidental execution
3018 * of such a maintenance task can enormously slow down a bigger database.
3020 $cfg['DisableMultiTableMaintenance'] = false;
3023 * Whether or not to query the user before sending the error report to
3024 * the phpMyAdmin team when a JavaScript error occurs
3026 * Available options
3027 * (ask | always | never)
3029 * @global string $cfg['SendErrorReports']
3031 $cfg['SendErrorReports'] = 'ask';
3034 * Whether Enter or Ctrl+Enter executes queries in the console.
3036 * @global boolean $cfg['ConsoleEnterExecutes']
3038 $cfg['ConsoleEnterExecutes'] = false;
3041 * Zero Configuration mode.
3043 * @global boolean $cfg['ZeroConf']
3045 $cfg['ZeroConf'] = true;
3047 /*******************************************************************************
3048 * Developers ONLY!
3050 * @global array $cfg['DBG']
3052 $cfg['DBG'] = array();
3055 * Output executed queries and their execution times
3057 * @global boolean $cfg['DBG']['sql']
3059 $cfg['DBG']['sql'] = false;
3062 * Log executed queries and their execution times to syslog
3064 * @global boolean $cfg['DBG']['sqllog']
3066 $cfg['DBG']['sqllog'] = false;
3069 * Enable to let server present itself as demo server.
3071 * @global boolean $cfg['DBG']['demo']
3073 $cfg['DBG']['demo'] = false;
3076 * Enable Simple two-factor authentication
3078 * @global boolean $cfg['DBG']['simple2fa']
3080 $cfg['DBG']['simple2fa'] = false;
3083 /*******************************************************************************
3084 * MySQL settings
3088 * Default functions for above defined groups
3090 * @global array $cfg['DefaultFunctions']
3092 $cfg['DefaultFunctions'] = array(
3093 'FUNC_CHAR' => '',
3094 'FUNC_DATE' => '',
3095 'FUNC_NUMBER' => '',
3096 'FUNC_SPATIAL' => 'GeomFromText',
3097 'FUNC_UUID' => 'UUID',
3098 'first_timestamp' => 'NOW',
3102 * Max rows retrieved for zoom search
3104 $cfg['maxRowPlotLimit'] = 500;
3107 * Show Git revision if applicable
3109 * @global boolean $cfg['ShowGitRevision']
3111 $cfg['ShowGitRevision'] = true;
3114 * MySQL minimal version required
3116 * @global array $cfg['MysqlMinVersion']
3118 $cfg['MysqlMinVersion'] = array(
3119 'internal' => 50500,
3120 'human' => '5.5.0'
3124 * Disable shortcuts
3126 * @global array $cfg['DisableShortcutKeys']
3128 $cfg['DisableShortcutKeys'] = false;
3131 * Console configuration
3133 * This is mostly meant for user preferences.
3135 $cfg['Console'] = [
3136 'StartHistory' => false,
3137 'AlwaysExpand' => false,
3138 'CurrentQuery' => true,
3139 'EnterExecutes' => false,
3140 'DarkTheme' => false,
3141 'Mode' => 'info',
3142 'Height' => 92,
3143 'GroupQueries' => false,
3144 'OrderBy' => 'exec',
3145 'Order' => 'asc',
3149 /*******************************************************************************
3150 * Default options for transformations
3154 * Initialize default transformations array
3156 * @global array $cfg['DefaultTransformations']
3158 $cfg['DefaultTransformations'] = array();
3161 * Default transformations for Substring
3163 * @global array $cfg['DefaultTransformations']['Substring']
3165 $cfg['DefaultTransformations']['Substring'] = array(0, 'all', '…');
3168 * Default transformations for Bool2Text
3170 * @global array $cfg['DefaultTransformations']['Bool2Text']
3172 $cfg['DefaultTransformations']['Bool2Text'] = array('T', 'F');
3175 * Default transformations for External
3177 * @global array $cfg['DefaultTransformations']['External']
3179 $cfg['DefaultTransformations']['External'] = array(0, '-f /dev/null -i -wrap -q', 1, 1);
3182 * Default transformations for PreApPend
3184 * @global array $cfg['DefaultTransformations']['PreApPend']
3186 $cfg['DefaultTransformations']['PreApPend'] = array('', '');
3189 * Default transformations for Hex
3191 * @global array $cfg['DefaultTransformations']['Hex']
3193 $cfg['DefaultTransformations']['Hex'] = array('2');
3196 * Default transformations for DateFormat
3198 * @global array $cfg['DefaultTransformations']['DateFormat']
3200 $cfg['DefaultTransformations']['DateFormat'] = array(0, '', 'local');
3203 * Default transformations for Inline
3205 * @global array $cfg['DefaultTransformations']['Inline']
3207 $cfg['DefaultTransformations']['Inline'] = array('100', 100);
3208 $cfg['DefaultTransformations']['Inline']['wrapper_link'] = null;
3211 * Default transformations for TextImageLink
3213 * @global array $cfg['DefaultTransformations']['TextImageLink']
3215 $cfg['DefaultTransformations']['TextImageLink'] = array(null, 100, 50);
3218 * Default transformations for TextLink
3220 * @global array $cfg['DefaultTransformations']['TextLink']
3222 $cfg['DefaultTransformations']['TextLink'] = array(null, null, null);