Translated using Weblate (Afrikaans)
[phpmyadmin.git] / libraries / config.default.php
bloba509f4ca9593b1f01f8b9b54507b76874412fee4
1 <?php
2 /**
3 * <code>
4 * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
5 * NN N O O !! D D O O NN N O O T E D D I T !!
6 * N N N O O !! D D O O N N N O O T EEEE D D I T !!
7 * N NN O O D D O O N NN O O T E D D I T
8 * N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !!
9 * </code>
11 * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
13 * phpMyAdmin default configuration, you can copy values from here to your
14 * config.inc.php
16 * All directives are explained in the documentation
18 declare(strict_types=1);
20 /**
21 * Your phpMyAdmin URL.
23 * Complete the variable below with the full URL ie
24 * https://example.com/path_to_your_phpMyAdmin_directory/
26 * It must contain characters that are valid for a URL, and the path is
27 * case sensitive on some Web servers, for example Unix-based servers.
29 * In most cases you can leave this variable empty, as the correct value
30 * will be detected automatically. However, we recommend that you do
31 * test to see that the auto-detection code works in your system. A good
32 * test is to browse a table, then edit a row and save it. There will be
33 * an error message if phpMyAdmin cannot auto-detect the correct value.
35 * @global string $cfg['PmaAbsoluteUri']
37 $cfg['PmaAbsoluteUri'] = '';
39 /**
40 * Configure authentication logging destination
42 * @global string $cfg['AuthLog']
44 $cfg['AuthLog'] = 'auto';
46 /**
47 * Whether to log successful authentication attempts
49 * @global boolean $cfg['AuthLogSuccess']
51 $cfg['AuthLogSuccess'] = false;
53 /**
54 * Disable the default warning that is displayed on the DB Details Structure page if
55 * any of the required Tables for the configuration storage could not be found
57 * @global boolean $cfg['PmaNoRelation_DisableWarning']
59 $cfg['PmaNoRelation_DisableWarning'] = false;
61 /**
62 * Disable the default warning that is displayed if Suhosin is detected
64 * @global boolean $cfg['SuhosinDisableWarning']
66 $cfg['SuhosinDisableWarning'] = false;
68 /**
69 * Disable the default warning that is displayed if session.gc_maxlifetime
70 * is less than `LoginCookieValidity`
72 * @global boolean $cfg['LoginCookieValidityDisableWarning']
74 $cfg['LoginCookieValidityDisableWarning'] = false;
76 /**
77 * Disable the default warning about MySQL reserved words in column names
79 * @global boolean $cfg['ReservedWordDisableWarning']
81 $cfg['ReservedWordDisableWarning'] = false;
83 /**
84 * Show warning about incomplete translations on certain threshold.
86 * @global boolean $cfg['TranslationWarningThreshold']
88 $cfg['TranslationWarningThreshold'] = 80;
90 /**
91 * Allows phpMyAdmin to be included from a other document in a frame;
92 * setting this to true is a potential security hole. Setting this to
93 * 'sameorigin' prevents phpMyAdmin to be included from another document
94 * in a frame, unless that document belongs to the same domain.
96 * @global boolean|string $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'] = [];
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
197 * @global string $cfg['Servers'][$i]['ssl_verify']
199 $cfg['Servers'][$i]['ssl_verify'] = true;
202 * Use compressed protocol for the MySQL connection
204 * @global boolean $cfg['Servers'][$i]['compress']
206 $cfg['Servers'][$i]['compress'] = false;
209 * MySQL control host. This permits to use a host different than the
210 * main host, for the phpMyAdmin configuration storage. If left empty,
211 * $cfg['Servers'][$i]['host'] is used instead.
213 * @global string $cfg['Servers'][$i]['controlhost']
215 $cfg['Servers'][$i]['controlhost'] = '';
218 * MySQL control port. This permits to use a port different than the
219 * main port, for the phpMyAdmin configuration storage. If left empty,
220 * $cfg['Servers'][$i]['port'] is used instead.
222 * @global string $cfg['Servers'][$i]['controlport']
224 $cfg['Servers'][$i]['controlport'] = '';
227 * MySQL control user settings (this user must have read-only
228 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
229 * used for all relational features (pmadb)
231 * @global string $cfg['Servers'][$i]['controluser']
233 $cfg['Servers'][$i]['controluser'] = '';
236 * MySQL control user settings (this user must have read-only
237 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
238 * used for all relational features (pmadb)
240 * @global string $cfg['Servers'][$i]['controlpass']
242 $cfg['Servers'][$i]['controlpass'] = '';
245 * Authentication method (valid choices: config, http, signon or cookie)
247 * @global string $cfg['Servers'][$i]['auth_type']
249 $cfg['Servers'][$i]['auth_type'] = 'cookie';
252 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
254 * @global string $cfg['Servers'][$i]['auth_http_realm']
256 $cfg['Servers'][$i]['auth_http_realm'] = '';
259 * MySQL user
261 * @global string $cfg['Servers'][$i]['user']
263 $cfg['Servers'][$i]['user'] = 'root';
266 * MySQL password (only needed with 'config' auth_type)
268 * @global string $cfg['Servers'][$i]['password']
270 $cfg['Servers'][$i]['password'] = '';
273 * Session to use for 'signon' authentication method
275 * @global string $cfg['Servers'][$i]['SignonSession']
277 $cfg['Servers'][$i]['SignonSession'] = '';
280 * Cookie params to match session to use for 'signon' authentication method
281 * It should be an associative array matching result of session_get_cookie_params() in other system
283 * @global array $cfg['Servers'][$i]['SignonCookieParams']
285 $cfg['Servers'][$i]['SignonCookieParams'] = [];
288 * PHP script to use for 'signon' authentication method
290 * @global string $cfg['Servers'][$i]['SignonScript']
292 $cfg['Servers'][$i]['SignonScript'] = '';
295 * URL where to redirect user to login for 'signon' authentication method
297 * @global string $cfg['Servers'][$i]['SignonURL']
299 $cfg['Servers'][$i]['SignonURL'] = '';
302 * URL where to redirect user after logout
304 * @global string $cfg['Servers'][$i]['LogoutURL']
306 $cfg['Servers'][$i]['LogoutURL'] = '';
309 * If set to a db-name, only this db is displayed in navigation panel
310 * It may also be an array of db-names
312 * @global string $cfg['Servers'][$i]['only_db']
314 $cfg['Servers'][$i]['only_db'] = '';
317 * Database name to be hidden from listings
319 * @global string $cfg['Servers'][$i]['hide_db']
321 $cfg['Servers'][$i]['hide_db'] = '';
324 * Verbose name for this host - leave blank to show the hostname
325 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
327 * @global string $cfg['Servers'][$i]['verbose']
329 $cfg['Servers'][$i]['verbose'] = '';
332 * Database used for Relation, Bookmark and PDF Features
333 * (see sql/create_tables.sql)
334 * - leave blank for no support
335 * SUGGESTED: 'phpmyadmin'
337 * @global string $cfg['Servers'][$i]['pmadb']
339 $cfg['Servers'][$i]['pmadb'] = '';
342 * Bookmark table
343 * - leave blank for no bookmark support
344 * SUGGESTED: 'pma__bookmark'
346 * @global string $cfg['Servers'][$i]['bookmarktable']
348 $cfg['Servers'][$i]['bookmarktable'] = '';
351 * table to describe the relation between links (see doc)
352 * - leave blank for no relation-links support
353 * SUGGESTED: 'pma__relation'
355 * @global string $cfg['Servers'][$i]['relation']
357 $cfg['Servers'][$i]['relation'] = '';
360 * table to describe the display fields
361 * - leave blank for no display fields support
362 * SUGGESTED: 'pma__table_info'
364 * @global string $cfg['Servers'][$i]['table_info']
366 $cfg['Servers'][$i]['table_info'] = '';
369 * table to describe the tables position for the designer and PDF schema
370 * - leave blank for no PDF schema support
371 * SUGGESTED: 'pma__table_coords'
373 * @global string $cfg['Servers'][$i]['table_coords']
375 $cfg['Servers'][$i]['table_coords'] = '';
378 * table to describe pages of relationpdf
379 * - leave blank if you don't want to use this
380 * SUGGESTED: 'pma__pdf_pages'
382 * @global string $cfg['Servers'][$i]['pdf_pages']
384 $cfg['Servers'][$i]['pdf_pages'] = '';
387 * table to store column information
388 * - leave blank for no column comments/mime types
389 * SUGGESTED: 'pma__column_info'
391 * @global string $cfg['Servers'][$i]['column_info']
393 $cfg['Servers'][$i]['column_info'] = '';
396 * table to store SQL history
397 * - leave blank for no SQL query history
398 * SUGGESTED: 'pma__history'
400 * @global string $cfg['Servers'][$i]['history']
402 $cfg['Servers'][$i]['history'] = '';
405 * table to store recently used tables
406 * - leave blank for no "persistent" recently used tables
407 * SUGGESTED: 'pma__recent'
409 $cfg['Servers'][$i]['recent'] = '';
412 * table to store favorite tables
413 * - leave blank for no favorite tables
414 * SUGGESTED: 'pma__favorite'
416 $cfg['Servers'][$i]['favorite'] = '';
419 * table to store UI preferences for tables
420 * - leave blank for no "persistent" UI preferences
421 * SUGGESTED: 'pma__table_uiprefs'
423 $cfg['Servers'][$i]['table_uiprefs'] = '';
426 * table to store SQL tracking
427 * - leave blank for no SQL tracking
428 * SUGGESTED: 'pma__tracking'
430 * @global string $cfg['Servers'][$i]['tracking']
432 $cfg['Servers'][$i]['tracking'] = '';
435 * table to store user preferences
436 * - leave blank to disable server storage
437 * SUGGESTED: 'pma__userconfig'
439 * @global string $cfg['Servers'][$i]['userconfig']
441 $cfg['Servers'][$i]['userconfig'] = '';
444 * table to store users and their assignment to user groups
445 * - leave blank to disable configurable menus feature
446 * SUGGESTED: 'pma__users'
448 * @global string $cfg['Servers'][$i]['users']
450 $cfg['Servers'][$i]['users'] = '';
453 * table to store allowed menu items for each user group
454 * - leave blank to disable configurable menus feature
455 * SUGGESTED: 'pma__usergroups'
457 * @global string $cfg['Servers'][$i]['usergroups']
459 $cfg['Servers'][$i]['usergroups'] = '';
462 * table to store information about item hidden from navigation tree
463 * - leave blank to disable hide/show navigation items feature
464 * SUGGESTED: 'pma__navigationhiding'
466 * @global string $cfg['Servers'][$i]['navigationhiding']
468 $cfg['Servers'][$i]['navigationhiding'] = '';
471 * table to store information about saved searches from query-by-example on a db
472 * - leave blank to disable saved searches feature
473 * SUGGESTED: 'pma__savedsearches'
475 * @global string $cfg['Servers'][$i]['savedsearches']
477 $cfg['Servers'][$i]['savedsearches'] = '';
480 * table to store central list of columns per database
481 * - leave blank to disable central list of columns feature
482 * SUGGESTED: 'pma__central_columns'
484 * @global string $cfg['Servers'][$i]['central_columns']
486 $cfg['Servers'][$i]['central_columns'] = '';
489 * table to store designer settings
490 * - leave blank to disable the storage of designer settings
491 * SUGGESTED: 'pma__designer_settings'
493 * @global string $cfg['Servers'][$i]['designer_settings']
495 $cfg['Servers'][$i]['designer_settings'] = '';
498 * table to store export templates
499 * - leave blank to disable saved searches feature
500 * SUGGESTED: 'pma__export_templates'
502 * @global string $cfg['Servers'][$i]['export_templates']
504 $cfg['Servers'][$i]['export_templates'] = '';
507 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
509 * In case where tables in databases is modified (e.g. dropped or renamed),
510 * table_uiprefs may contains invalid data (referring to tables which are not
511 * exist anymore).
512 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
513 * newest record in table_uiprefs and automatically delete older records.
515 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
517 $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
520 * Sets the time zone used by phpMyAdmin. Possible values are explained at
521 * https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
523 * @global string $cfg['Servers'][$i]['SessionTimeZone'] = ''
525 $cfg['Servers'][$i]['SessionTimeZone'] = '';
528 * whether to allow root login
530 * @global boolean $cfg['Servers'][$i]['AllowRoot']
532 $cfg['Servers'][$i]['AllowRoot'] = true;
535 * whether to allow login of any user without a password
537 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
539 $cfg['Servers'][$i]['AllowNoPassword'] = false;
542 * Host authentication order, leave blank to not use
544 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
546 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
549 * Host authentication rules, leave blank for defaults
551 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
553 $cfg['Servers'][$i]['AllowDeny']['rules'] = [];
556 * Disable use of INFORMATION_SCHEMA.
558 * @see https://github.com/phpmyadmin/phpmyadmin/issues/8970
559 * @see https://bugs.mysql.com/19588
561 * @global boolean $cfg['Servers'][$i]['DisableIS']
563 $cfg['Servers'][$i]['DisableIS'] = false;
566 * Whether the tracking mechanism creates
567 * versions for tables and views automatically.
569 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
571 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
574 * Defines the list of statements
575 * the auto-creation uses for new versions.
577 * @global string $cfg['Servers'][$i]['tracking_default_statements']
579 $cfg['Servers'][$i]['tracking_default_statements']
580 = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,CREATE INDEX,' .
581 'DROP INDEX,INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,CREATE VIEW,' .
582 'ALTER VIEW,DROP VIEW,CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
585 * Whether a DROP VIEW IF EXISTS statement will be added
586 * as first line to the log when creating a view.
588 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
590 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
593 * Whether a DROP TABLE IF EXISTS statement will be added
594 * as first line to the log when creating a table.
596 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
598 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
601 * Whether a DROP DATABASE IF EXISTS statement will be added
602 * as first line to the log when creating a database.
604 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
606 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
609 * Default server (0 = no default server)
611 * If you have more than one server configured, you can set $cfg['ServerDefault']
612 * to any one of them to auto-connect to that server when phpMyAdmin is started,
613 * or set it to 0 to be given a list of servers without logging in
614 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
615 * set to that server.
617 * @global integer $cfg['ServerDefault']
619 $cfg['ServerDefault'] = 1;
622 * Other core phpMyAdmin settings
626 * whether version check is active
628 * @global boolean $cfg['VersionCheck']
630 if (defined('VERSION_CHECK_DEFAULT')) {
631 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
632 } else {
633 $cfg['VersionCheck'] = true;
637 * The url of the proxy to be used when retrieving the information about
638 * the latest version of phpMyAdmin or error reporting. You need this if
639 * the server where phpMyAdmin is installed does not have direct access to
640 * the internet.
641 * The format is: "hostname:portnumber"
643 * @global string $cfg['ProxyUrl']
645 $cfg['ProxyUrl'] = '';
648 * The username for authenticating with the proxy. By default, no
649 * authentication is performed. If a username is supplied, Basic
650 * Authentication will be performed. No other types of authentication
651 * are currently supported.
653 * @global string $cfg['ProxyUser']
655 $cfg['ProxyUser'] = '';
658 * The password for authenticating with the proxy.
660 * @global string $cfg['ProxyPass']
662 $cfg['ProxyPass'] = '';
665 * maximum number of db's displayed in database list
667 * @global integer $cfg['MaxDbList']
669 $cfg['MaxDbList'] = 100;
672 * maximum number of tables displayed in table list
674 * @global integer $cfg['MaxTableList']
676 $cfg['MaxTableList'] = 250;
679 * whether to show hint or not
681 * @global boolean $cfg['ShowHint']
683 $cfg['ShowHint'] = true;
686 * maximum number of characters when a SQL query is displayed
688 * @global integer $cfg['MaxCharactersInDisplayedSQL']
690 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
693 * use GZIP output buffering if possible (true|false|'auto')
695 * @global string $cfg['OBGzip']
697 $cfg['OBGzip'] = 'auto';
700 * use persistent connections to MySQL database
702 * @global boolean $cfg['PersistentConnections']
704 $cfg['PersistentConnections'] = false;
707 * maximum execution time in seconds (0 for no limit)
709 * @global integer $cfg['ExecTimeLimit']
711 $cfg['ExecTimeLimit'] = 300;
714 * Path for storing session data (session_save_path PHP parameter).
716 * @global integer $cfg['SessionSavePath']
718 $cfg['SessionSavePath'] = '';
721 * maximum allocated bytes ('-1' for no limit, '0' for no change)
722 * this is a string because '16M' is a valid value; we must put here
723 * a string as the default value so that /setup accepts strings
725 * @global string $cfg['MemoryLimit']
727 $cfg['MemoryLimit'] = '-1';
730 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
732 * @global boolean $cfg['SkipLockedTables']
734 $cfg['SkipLockedTables'] = false;
737 * show SQL queries as run
739 * @global boolean $cfg['ShowSQL']
741 $cfg['ShowSQL'] = true;
744 * retain SQL input on Ajax execute
746 * @global boolean $cfg['RetainQueryEditor']
748 $cfg['RetainQueryBox'] = false;
751 * use CodeMirror syntax highlighting for editing SQL
753 * @global boolean $cfg['CodemirrorEnable']
755 $cfg['CodemirrorEnable'] = true;
758 * use the parser to find any errors in the query before executing
760 * @global boolean $cfg['LintEnable']
762 $cfg['LintEnable'] = true;
765 * show a 'Drop database' link to normal users
767 * @global boolean $cfg['AllowUserDropDatabase']
769 $cfg['AllowUserDropDatabase'] = false;
772 * confirm some commands that can result in loss of data
774 * @global boolean $cfg['Confirm']
776 $cfg['Confirm'] = true;
779 * recall previous login in cookie authentication mode or not
781 * @global boolean $cfg['LoginCookieRecall']
783 $cfg['LoginCookieRecall'] = true;
786 * validity of cookie login (in seconds; 1440 matches php.ini's
787 * session.gc_maxlifetime)
789 * @global integer $cfg['LoginCookieValidity']
791 $cfg['LoginCookieValidity'] = 1440;
794 * how long login cookie should be stored (in seconds)
796 * @global integer $cfg['LoginCookieStore']
798 $cfg['LoginCookieStore'] = 0;
801 * whether to delete all login cookies on logout
803 * @global boolean $cfg['LoginCookieDeleteAll']
805 $cfg['LoginCookieDeleteAll'] = true;
808 * whether to enable the "database search" feature or not
810 * @global boolean $cfg['UseDbSearch']
812 $cfg['UseDbSearch'] = true;
815 * if set to true, PMA continues computing multiple-statement queries
816 * even if one of the queries failed
818 * @global boolean $cfg['IgnoreMultiSubmitErrors']
820 $cfg['IgnoreMultiSubmitErrors'] = false;
823 * allow login to any user entered server in cookie based authentication
825 * @global boolean $cfg['AllowArbitraryServer']
827 $cfg['AllowArbitraryServer'] = false;
830 * restrict by IP (with regular expression) the MySQL servers the user can enter
831 * when $cfg['AllowArbitraryServer'] = true
833 * @global string $cfg['ArbitraryServerRegexp']
835 $cfg['ArbitraryServerRegexp'] = '';
838 * if reCaptcha is enabled it needs public key to connect with the service
840 * @global string $cfg['CaptchaLoginPublicKey']
842 $cfg['CaptchaLoginPublicKey'] = '';
845 * if reCaptcha is enabled it needs private key to connect with the service
847 * @global string $cfg['CaptchaLoginPrivateKey']
849 $cfg['CaptchaLoginPrivateKey'] = '';
852 * if reCaptcha is enabled may need an URL for site verify
854 * @global string $cfg['CaptchaSiteVerifyURL']
856 $cfg['CaptchaSiteVerifyURL'] = '';
859 * Enable drag and drop import
861 * @see feature request : https://github.com/phpmyadmin/phpmyadmin/issues/13155
863 * @global bool $cfg['enable_drag_drop_import']
865 $cfg['enable_drag_drop_import'] = true;
867 /*******************************************************************************
868 * Navigation panel setup
872 * In the navigation panel, replaces the database tree with a selector
874 * @global boolean $cfg['ShowDatabasesNavigationAsTree']
876 $cfg['ShowDatabasesNavigationAsTree'] = true;
879 * maximum number of first level databases displayed in navigation panel
881 * @global integer $cfg['FirstLevelNavigationItems']
883 $cfg['FirstLevelNavigationItems'] = 100;
886 * maximum number of items displayed in navigation panel
888 * @global integer $cfg['MaxNavigationItems']
890 $cfg['MaxNavigationItems'] = 50;
893 * turn the select-based light menu into a tree
895 * @global boolean $cfg['NavigationTreeEnableGrouping']
897 $cfg['NavigationTreeEnableGrouping'] = true;
900 * the separator to sub-tree the select-based light menu tree
902 * @global string $cfg['NavigationTreeDbSeparator']
904 $cfg['NavigationTreeDbSeparator'] = '_';
907 * Which string will be used to generate table prefixes
908 * to split/nest tables into multiple categories
910 * @global string $cfg['NavigationTreeTableSeparator']
912 $cfg['NavigationTreeTableSeparator'] = '__';
915 * How many sublevels should be displayed when splitting up tables
916 * by the above Separator
918 * @global integer $cfg['NavigationTreeTableLevel']
920 $cfg['NavigationTreeTableLevel'] = 1;
923 * link with main panel by highlighting the current db/table
925 * @global boolean $cfg['NavigationLinkWithMainPanel']
927 $cfg['NavigationLinkWithMainPanel'] = true;
930 * display logo at top of navigation panel
932 * @global boolean $cfg['NavigationDisplayLogo']
934 $cfg['NavigationDisplayLogo'] = true;
937 * where should logo link point to (can also contain an external URL)
939 * @global string $cfg['NavigationLogoLink']
941 $cfg['NavigationLogoLink'] = 'index.php';
944 * whether to open the linked page in the main window ('main') or
945 * in a new window ('new')
947 * @global string $cfg['NavigationLogoLinkWindow']
949 $cfg['NavigationLogoLinkWindow'] = 'main';
952 * number of recently used tables displayed in the navigation panel
954 * @global integer $cfg['NumRecentTables']
956 $cfg['NumRecentTables'] = 10;
959 * number of favorite tables displayed in the navigation panel
961 * @global integer $cfg['NumFavoriteTables']
963 $cfg['NumFavoriteTables'] = 10;
966 * display a JavaScript table filter in the navigation panel
967 * when more then x tables are present
969 * @global boolean $cfg['NavigationTreeDisplayItemFilterMinimum']
971 $cfg['NavigationTreeDisplayItemFilterMinimum'] = 30;
974 * display server choice at top of navigation panel
976 * @global boolean $cfg['NavigationDisplayServers']
978 $cfg['NavigationDisplayServers'] = true;
981 * server choice as links
983 * @global boolean $cfg['DisplayServersList']
985 $cfg['DisplayServersList'] = false;
988 * display a JavaScript database filter in the navigation panel
989 * when more then x databases are present
991 * @global boolean $cfg['NavigationTreeDisplayDbFilterMinimum']
993 $cfg['NavigationTreeDisplayDbFilterMinimum'] = 30;
996 * target of the navigation panel quick access icon
998 * Possible values:
999 * 'structure' = fields list
1000 * 'sql' = SQL form
1001 * 'search' = search page
1002 * 'insert' = insert row page
1003 * 'browse' = browse page
1005 * @global string $cfg['NavigationTreeDefaultTabTable']
1007 $cfg['NavigationTreeDefaultTabTable'] = 'structure';
1010 * target of the navigation panel quick second access icon
1012 * Possible values:
1013 * 'structure' = fields list
1014 * 'sql' = SQL form
1015 * 'search' = search page
1016 * 'insert' = insert row page
1017 * 'browse' = browse page
1018 * '' = no link
1020 * @global string $cfg['NavigationTreeDefaultTabTable2']
1022 $cfg['NavigationTreeDefaultTabTable2'] = '';
1025 * Enables the possibility of navigation tree expansion
1027 * @global boolean $cfg['NavigationTreeEnableExpansion']
1029 $cfg['NavigationTreeEnableExpansion'] = true;
1032 * Show tables in navigation panel
1034 * @global boolean $cfg['NavigationTreeShowTables']
1036 $cfg['NavigationTreeShowTables'] = true;
1039 * Show views in navigation panel
1041 * @global boolean $cfg['NavigationTreeShowViews']
1043 $cfg['NavigationTreeShowViews'] = true;
1046 * Show functions in navigation panel
1048 * @global boolean $cfg['NavigationTreeShowFunctions']
1050 $cfg['NavigationTreeShowFunctions'] = true;
1053 * Show procedures in navigation panel
1055 * @global boolean $cfg['NavigationTreeShowProcedures']
1057 $cfg['NavigationTreeShowProcedures'] = true;
1060 * Show events in navigation panel
1062 * @global boolean $cfg['NavigationTreeShowEvents']
1064 $cfg['NavigationTreeShowEvents'] = true;
1067 * Width of navigation panel
1069 * @global integer $cfg['NavigationWidth']
1071 $cfg['NavigationWidth'] = 240;
1074 * Automatically expands single database in navigation panel
1076 * @global boolean $cfg['NavigationAutoexpandSingleDb']
1078 $cfg['NavigationTreeAutoexpandSingleDb'] = true;
1080 /*******************************************************************************
1081 * In the main panel, at startup...
1085 * allow to display statistics and space usage in the pages about database
1086 * details and table properties
1088 * @global boolean $cfg['ShowStats']
1090 $cfg['ShowStats'] = true;
1093 * show PHP info link
1095 * @global boolean $cfg['ShowPhpInfo']
1097 $cfg['ShowPhpInfo'] = false;
1100 * show MySQL server and web server information
1102 * @global boolean $cfg['ShowServerInfo']
1104 $cfg['ShowServerInfo'] = true;
1107 * show change password link
1109 * @global boolean $cfg['ShowChgPassword']
1111 $cfg['ShowChgPassword'] = true;
1114 * show create database form
1116 * @global boolean $cfg['ShowCreateDb']
1118 $cfg['ShowCreateDb'] = true;
1121 /*******************************************************************************
1122 * Database structure
1125 /** show charset column in database structure (true|false)?
1127 * @global boolean $cfg['ShowDbStructureCharset']
1129 $cfg['ShowDbStructureCharset'] = false;
1132 * show comment column in database structure (true|false)?
1134 * @global boolean $cfg['ShowDbStructureComment']
1136 $cfg['ShowDbStructureComment'] = false;
1139 * show creation timestamp column in database structure (true|false)?
1141 * @global boolean $cfg['ShowDbStructureCreation']
1143 $cfg['ShowDbStructureCreation'] = false;
1146 * show last update timestamp column in database structure (true|false)?
1148 * @global boolean $cfg['ShowDbStructureLastUpdate']
1150 $cfg['ShowDbStructureLastUpdate'] = false;
1153 * show last check timestamp column in database structure (true|false)?
1155 * @global boolean $cfg['ShowDbStructureLastCheck']
1157 $cfg['ShowDbStructureLastCheck'] = false;
1160 * allow hide action columns to drop down menu in database structure (true|false)?
1162 * @global boolean $cfg['HideStructureActions']
1164 $cfg['HideStructureActions'] = true;
1167 * Show column comments in table structure view (true|false)?
1169 * @global boolean $cfg['ShowColumnComments']
1171 $cfg['ShowColumnComments'] = true;
1174 /*******************************************************************************
1175 * In browse mode...
1179 * Use icons instead of text for the navigation bar buttons (table browse)
1180 * ('text'|'icons'|'both')
1182 * @global string $cfg['TableNavigationLinksMode']
1184 $cfg['TableNavigationLinksMode'] = 'icons';
1187 * Defines whether a user should be displayed a "show all (records)"
1188 * button in browse mode or not.
1190 * @global boolean $cfg['ShowAll']
1192 $cfg['ShowAll'] = false;
1195 * Number of rows displayed when browsing a result set. If the result
1196 * set contains more rows, "Previous" and "Next".
1197 * Possible values: 25,50,100,250,500
1199 * @global integer $cfg['MaxRows']
1201 $cfg['MaxRows'] = 25;
1204 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
1205 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
1206 * ascending order else-)
1208 * @global string $cfg['Order']
1210 $cfg['Order'] = 'SMART';
1213 * grid editing: save edited cell(s) in browse-mode at once
1215 * @global boolean $cfg['SaveCellsAtOnce']
1217 $cfg['SaveCellsAtOnce'] = false;
1220 * grid editing: which action triggers it, or completely disable the feature
1222 * Possible values:
1223 * 'click'
1224 * 'double-click'
1225 * 'disabled'
1227 * @global string $cfg['GridEditing']
1229 $cfg['GridEditing'] = 'double-click';
1232 * Options > Relational display
1234 * Possible values:
1235 * 'K' for key value
1236 * 'D' for display column
1238 * @global string $cfg['RelationalDisplay']
1240 $cfg['RelationalDisplay'] = 'K';
1243 /*******************************************************************************
1244 * In edit mode...
1248 * disallow editing of binary fields
1249 * valid values are:
1250 * false allow editing
1251 * 'blob' allow editing except for BLOB fields
1252 * 'noblob' disallow editing except for BLOB fields
1253 * 'all' disallow editing
1255 * @global string $cfg['ProtectBinary']
1257 $cfg['ProtectBinary'] = 'blob';
1260 * Display the function fields in edit/insert mode
1262 * @global boolean $cfg['ShowFunctionFields']
1264 $cfg['ShowFunctionFields'] = true;
1267 * Display the type fields in edit/insert mode
1269 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1271 $cfg['ShowFieldTypesInDataEditView'] = true;
1274 * Which editor should be used for CHAR/VARCHAR fields:
1275 * input - allows limiting of input length
1276 * textarea - allows newlines in fields
1278 * @global string $cfg['CharEditing']
1280 $cfg['CharEditing'] = 'input';
1283 * The minimum size for character input fields
1285 * @global integer $cfg['MinSizeForInputField']
1287 $cfg['MinSizeForInputField'] = 4;
1290 * The maximum size for character input fields
1292 * @global integer $cfg['MinSizeForInputField']
1294 $cfg['MaxSizeForInputField'] = 60;
1297 * How many rows can be inserted at one time
1299 * @global integer $cfg['InsertRows']
1301 $cfg['InsertRows'] = 2;
1304 * Sort order for items in a foreign-key drop-down list.
1305 * 'content' is the referenced data, 'id' is the key value.
1307 * @global array $cfg['ForeignKeyDropdownOrder']
1309 $cfg['ForeignKeyDropdownOrder'] = [
1310 'content-id',
1311 'id-content',
1315 * A drop-down list will be used if fewer items are present
1317 * @global integer $cfg['ForeignKeyMaxLimit']
1319 $cfg['ForeignKeyMaxLimit'] = 100;
1322 * Whether to disable foreign key checks while importing
1324 * @global boolean $cfg['DefaultForeignKeyChecks']
1326 $cfg['DefaultForeignKeyChecks'] = 'default';
1328 /*******************************************************************************
1329 * For the export features...
1333 * Allow for the use of zip compression (requires zip support to be enabled)
1335 * @global boolean $cfg['ZipDump']
1337 $cfg['ZipDump'] = true;
1340 * Allow for the use of gzip compression (requires zlib)
1342 * @global boolean $cfg['GZipDump']
1344 $cfg['GZipDump'] = true;
1347 * Allow for the use of bzip2 decompression (requires bz2 extension)
1349 * @global boolean $cfg['BZipDump']
1351 $cfg['BZipDump'] = true;
1354 * Will compress gzip exports on the fly without the need for much memory.
1355 * If you encounter problems with created gzip files disable this feature.
1357 * @global boolean $cfg['CompressOnFly']
1359 $cfg['CompressOnFly'] = true;
1362 /*******************************************************************************
1363 * Tabs display settings
1367 * How to display the menu tabs ('icons'|'text'|'both')
1369 * @global boolean $cfg['TabsMode']
1371 $cfg['TabsMode'] = 'both';
1374 * How to display various action links ('icons'|'text'|'both')
1376 * @global boolean $cfg['ActionLinksMode']
1378 $cfg['ActionLinksMode'] = 'both';
1381 * How many columns should be used for table display of a database?
1382 * (a value larger than 1 results in some information being hidden)
1384 * @global integer $cfg['PropertiesNumColumns']
1386 $cfg['PropertiesNumColumns'] = 1;
1389 * Possible values:
1390 * 'welcome' = the welcome page
1391 * (recommended for multiuser setups)
1392 * 'databases' = list of databases
1393 * 'status' = runtime information
1394 * 'variables' = MySQL server variables
1395 * 'privileges' = user management
1397 * @global string $cfg['DefaultTabServer']
1399 $cfg['DefaultTabServer'] = 'welcome';
1402 * Possible values:
1403 * 'structure' = tables list
1404 * 'sql' = SQL form
1405 * 'search' = search query
1406 * 'operations' = operations on database
1408 * @global string $cfg['DefaultTabDatabase']
1410 $cfg['DefaultTabDatabase'] = 'structure';
1413 * Possible values:
1414 * 'structure' = fields list
1415 * 'sql' = SQL form
1416 * 'search' = search page
1417 * 'insert' = insert row page
1418 * 'browse' = browse page
1420 * @global string $cfg['DefaultTabTable']
1422 $cfg['DefaultTabTable'] = 'browse';
1425 * Whether to display image or text or both image and text in table row
1426 * action segment. Value can be either of ``image``, ``text`` or ``both``.
1428 $cfg['RowActionType'] = 'both';
1430 /*******************************************************************************
1431 * Export defaults
1433 $cfg['Export'] = [];
1436 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xml/yaml
1438 * @global string $cfg['Export']['format']
1440 $cfg['Export']['format'] = 'sql';
1443 * quick/custom/custom-no-form
1445 * @global string $cfg['Export']['format']
1447 $cfg['Export']['method'] = 'quick';
1450 * none/zip/gzip
1452 * @global string $cfg['Export']['compression']
1454 $cfg['Export']['compression'] = 'none';
1457 * Whether to LOCK TABLES before exporting
1459 * @global boolean $cfg['Export']['lock_tables']
1461 $cfg['Export']['lock_tables'] = false;
1464 * Whether to export databases/tables as separate files
1466 * @global boolean $cfg['Export']['as_separate_files']
1468 $cfg['Export']['as_separate_files'] = false;
1471 * @global boolean $cfg['Export']['asfile']
1473 $cfg['Export']['asfile'] = true;
1476 * @global string $cfg['Export']['charset']
1478 $cfg['Export']['charset'] = '';
1481 * @global boolean $cfg['Export']['onserver']
1483 $cfg['Export']['onserver'] = false;
1486 * @global boolean $cfg['Export']['onserver_overwrite']
1488 $cfg['Export']['onserver_overwrite'] = false;
1491 * @global boolean $cfg['Export']['quick_export_onserver']
1493 $cfg['Export']['quick_export_onserver'] = false;
1496 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1498 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1501 * @global boolean $cfg['Export']['remember_file_template']
1503 $cfg['Export']['remember_file_template'] = true;
1506 * @global string $cfg['Export']['file_template_table']
1508 $cfg['Export']['file_template_table'] = '@TABLE@';
1511 * @global string $cfg['Export']['file_template_database']
1513 $cfg['Export']['file_template_database'] = '@DATABASE@';
1516 * @global string $cfg['Export']['file_template_server']
1518 $cfg['Export']['file_template_server'] = '@SERVER@';
1521 * @global string $cfg['Export']['codegen_structure_or_data']
1523 $cfg['Export']['codegen_structure_or_data'] = 'data';
1526 * @global $cfg['Export']['codegen_format']
1528 $cfg['Export']['codegen_format'] = 0;
1531 * @global boolean $cfg['Export']['ods_columns']
1533 $cfg['Export']['ods_columns'] = false;
1536 * @global string $cfg['Export']['ods_null']
1538 $cfg['Export']['ods_null'] = 'NULL';
1541 * @global string $cfg['Export']['odt_structure_or_data']
1543 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1546 * @global boolean $cfg['Export']['odt_columns']
1548 $cfg['Export']['odt_columns'] = true;
1551 * @global boolean $cfg['Export']['odt_relation']
1553 $cfg['Export']['odt_relation'] = true;
1556 * @global boolean $cfg['Export']['odt_comments']
1558 $cfg['Export']['odt_comments'] = true;
1561 * @global boolean $cfg['Export']['odt_mime']
1563 $cfg['Export']['odt_mime'] = true;
1566 * @global string $cfg['Export']['odt_null']
1568 $cfg['Export']['odt_null'] = 'NULL';
1571 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1573 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1576 * @global boolean $cfg['Export']['htmlword_columns']
1578 $cfg['Export']['htmlword_columns'] = false;
1581 * @global string $cfg['Export']['htmlword_null']
1583 $cfg['Export']['htmlword_null'] = 'NULL';
1586 * @global string $cfg['Export']['texytext_structure_or_data']
1588 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1591 * @global boolean $cfg['Export']['texytext_columns']
1593 $cfg['Export']['texytext_columns'] = false;
1596 * @global string $cfg['Export']['texytext_null']
1598 $cfg['Export']['texytext_null'] = 'NULL';
1601 * @global boolean $cfg['Export']['csv_columns']
1603 $cfg['Export']['csv_columns'] = false;
1606 * @global string $cfg['Export']['csv_structure_or_data']
1608 $cfg['Export']['csv_structure_or_data'] = 'data';
1611 * @global string $cfg['Export']['csv_null']
1613 $cfg['Export']['csv_null'] = 'NULL';
1616 * @global string $cfg['Export']['csv_separator']
1618 $cfg['Export']['csv_separator'] = ',';
1621 * @global string $cfg['Export']['csv_enclosed']
1623 $cfg['Export']['csv_enclosed'] = '"';
1626 * @global string $cfg['Export']['csv_escaped']
1628 $cfg['Export']['csv_escaped'] = '"';
1631 * @global string $cfg['Export']['csv_terminated']
1633 $cfg['Export']['csv_terminated'] = 'AUTO';
1636 * @global string $cfg['Export']['csv_removeCRLF']
1638 $cfg['Export']['csv_removeCRLF'] = false;
1641 * @global boolean $cfg['Export']['excel_columns']
1643 $cfg['Export']['excel_columns'] = true;
1646 * @global string $cfg['Export']['excel_null']
1648 $cfg['Export']['excel_null'] = 'NULL';
1651 * win/mac
1653 * @global string $cfg['Export']['excel_edition']
1655 $cfg['Export']['excel_edition'] = 'win';
1658 * @global string $cfg['Export']['excel_removeCRLF']
1660 $cfg['Export']['excel_removeCRLF'] = false;
1663 * @global string $cfg['Export']['excel_structure_or_data']
1665 $cfg['Export']['excel_structure_or_data'] = 'data';
1668 * @global string $cfg['Export']['latex_structure_or_data']
1670 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1673 * @global boolean $cfg['Export']['latex_columns']
1675 $cfg['Export']['latex_columns'] = true;
1678 * @global boolean $cfg['Export']['latex_relation']
1680 $cfg['Export']['latex_relation'] = true;
1683 * @global boolean $cfg['Export']['latex_comments']
1685 $cfg['Export']['latex_comments'] = true;
1688 * @global boolean $cfg['Export']['latex_mime']
1690 $cfg['Export']['latex_mime'] = true;
1693 * @global string $cfg['Export']['latex_null']
1695 $cfg['Export']['latex_null'] = '\textit{NULL}';
1698 * @global boolean $cfg['Export']['latex_caption']
1700 $cfg['Export']['latex_caption'] = true;
1703 * @global string $cfg['Export']['latex_structure_caption']
1705 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1708 * @global string $cfg['Export']['latex_structure_continued_caption']
1710 $cfg['Export']['latex_structure_continued_caption']
1711 = 'strLatexStructure strLatexContinued';
1714 * @global string $cfg['Export']['latex_data_caption']
1716 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1719 * @global string $cfg['Export']['latex_data_continued_caption']
1721 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1724 * @global string $cfg['Export']['latex_data_label']
1726 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1729 * @global string $cfg['Export']['latex_structure_label']
1731 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1734 * @global string $cfg['Export']['mediawiki_structure_or_data']
1736 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1739 * @global boolean $cfg['Export']['mediawiki_caption']
1741 $cfg['Export']['mediawiki_caption'] = true;
1744 * @global boolean $cfg['Export']['mediawiki_headers']
1746 $cfg['Export']['mediawiki_headers'] = true;
1749 * @global string $cfg['Export']['ods_structure_or_data']
1751 $cfg['Export']['ods_structure_or_data'] = 'data';
1754 * @global string $cfg['Export']['pdf_structure_or_data']
1756 $cfg['Export']['pdf_structure_or_data'] = 'data';
1759 * @global string $cfg['Export']['phparray_structure_or_data']
1761 $cfg['Export']['phparray_structure_or_data'] = 'data';
1764 * @global string $cfg['Export']['json_structure_or_data']
1766 $cfg['Export']['json_structure_or_data'] = 'data';
1769 * Export functions
1771 * @global string $cfg['Export']['json_pretty_print']
1773 $cfg['Export']['json_pretty_print'] = false;
1776 * Export functions
1778 * @global string $cfg['Export']['json_unicode']
1780 $cfg['Export']['json_unicode'] = true;
1783 * @global string $cfg['Export']['sql_structure_or_data']
1785 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1788 * @global string $cfg['Export']['sql_compatibility']
1790 $cfg['Export']['sql_compatibility'] = 'NONE';
1793 * Whether to include comments in SQL export.
1795 * @global string $cfg['Export']['sql_include_comments']
1797 $cfg['Export']['sql_include_comments'] = true;
1800 * @global boolean $cfg['Export']['sql_disable_fk']
1802 $cfg['Export']['sql_disable_fk'] = false;
1805 * @global boolean $cfg['Export']['sql_views_as_tables']
1807 $cfg['Export']['sql_views_as_tables'] = false;
1810 * @global boolean $cfg['Export']['sql_metadata']
1812 $cfg['Export']['sql_metadata'] = false;
1815 * @global boolean $cfg['Export']['sql_use_transaction']
1817 $cfg['Export']['sql_use_transaction'] = true;
1820 * @global boolean $cfg['Export']['sql_create_database']
1822 $cfg['Export']['sql_create_database'] = false;
1825 * @global boolean $cfg['Export']['sql_drop_database']
1827 $cfg['Export']['sql_drop_database'] = false;
1830 * @global boolean $cfg['Export']['sql_drop_table']
1832 $cfg['Export']['sql_drop_table'] = false;
1835 * true by default for correct behavior when dealing with exporting
1836 * of VIEWs and the stand-in table
1838 * @global boolean $cfg['Export']['sql_if_not_exists']
1840 $cfg['Export']['sql_if_not_exists'] = false;
1843 * @global boolean $cfg['Export']['sql_view_current_user']
1845 $cfg['Export']['sql_view_current_user'] = false;
1848 * @global boolean $cfg['Export']['sql_or_replace']
1850 $cfg['Export']['sql_or_replace_view'] = false;
1853 * @global boolean $cfg['Export']['sql_procedure_function']
1855 $cfg['Export']['sql_procedure_function'] = true;
1858 * @global boolean $cfg['Export']['sql_create_table']
1860 $cfg['Export']['sql_create_table'] = true;
1863 * @global boolean $cfg['Export']['sql_create_view']
1865 $cfg['Export']['sql_create_view'] = true;
1868 * @global boolean $cfg['Export']['sql_create_trigger']
1870 $cfg['Export']['sql_create_trigger'] = true;
1873 * @global boolean $cfg['Export']['sql_auto_increment']
1875 $cfg['Export']['sql_auto_increment'] = true;
1878 * @global boolean $cfg['Export']['sql_backquotes']
1880 $cfg['Export']['sql_backquotes'] = true;
1883 * @global boolean $cfg['Export']['sql_dates']
1885 $cfg['Export']['sql_dates'] = false;
1888 * @global boolean $cfg['Export']['sql_relation']
1890 $cfg['Export']['sql_relation'] = false;
1893 * @global boolean $cfg['Export']['sql_truncate']
1895 $cfg['Export']['sql_truncate'] = false;
1898 * @global boolean $cfg['Export']['sql_delayed']
1900 $cfg['Export']['sql_delayed'] = false;
1903 * @global boolean $cfg['Export']['sql_ignore']
1905 $cfg['Export']['sql_ignore'] = false;
1908 * Export time in UTC.
1910 * @global boolean $cfg['Export']['sql_utc_time']
1912 $cfg['Export']['sql_utc_time'] = true;
1915 * @global boolean $cfg['Export']['sql_hex_for_binary']
1917 $cfg['Export']['sql_hex_for_binary'] = true;
1920 * insert/update/replace
1922 * @global string $cfg['Export']['sql_type']
1924 $cfg['Export']['sql_type'] = 'INSERT';
1927 * @global integer $cfg['Export']['sql_max_query_size']
1929 $cfg['Export']['sql_max_query_size'] = 50000;
1932 * @global boolean $cfg['Export']['sql_mime']
1934 $cfg['Export']['sql_mime'] = false;
1937 * \n is replaced by new line
1939 * @global string $cfg['Export']['sql_header_comment']
1941 $cfg['Export']['sql_header_comment'] = '';
1944 * Whether to use complete inserts, extended inserts, both, or neither
1946 * @global string $cfg['Export']['sql_insert_syntax']
1948 $cfg['Export']['sql_insert_syntax'] = 'both';
1951 * @global string $cfg['Export']['pdf_report_title']
1953 $cfg['Export']['pdf_report_title'] = '';
1956 * @global string $cfg['Export']['xml_structure_or_data']
1958 $cfg['Export']['xml_structure_or_data'] = 'data';
1961 * Export schema for each structure
1963 * @global string $cfg['Export']['xml_export_struc']
1965 $cfg['Export']['xml_export_struc'] = true;
1968 * Export events
1970 * @global string $cfg['Export']['xml_export_events']
1972 $cfg['Export']['xml_export_events'] = true;
1975 * Export functions
1977 * @global string $cfg['Export']['xml_export_functions']
1979 $cfg['Export']['xml_export_functions'] = true;
1982 * Export procedures
1984 * @global string $cfg['Export']['xml_export_procedures']
1986 $cfg['Export']['xml_export_procedures'] = true;
1989 * Export schema for each table
1991 * @global string $cfg['Export']['xml_export_tables']
1993 $cfg['Export']['xml_export_tables'] = true;
1996 * Export triggers
1998 * @global string $cfg['Export']['xml_export_triggers']
2000 $cfg['Export']['xml_export_triggers'] = true;
2003 * Export views
2005 * @global string $cfg['Export']['xml_export_views']
2007 $cfg['Export']['xml_export_views'] = true;
2010 * Export contents data
2012 * @global string $cfg['Export']['xml_export_contents']
2014 $cfg['Export']['xml_export_contents'] = true;
2017 * @global string $cfg['Export']['yaml_structure_or_data']
2019 $cfg['Export']['yaml_structure_or_data'] = 'data';
2021 /*******************************************************************************
2022 * Import defaults
2024 $cfg['Import'] = [];
2027 * @global string $cfg['Import']['format']
2029 $cfg['Import']['format'] = 'sql';
2032 * Default charset for import.
2034 * @global string $cfg['Import']['charset']
2036 $cfg['Import']['charset'] = '';
2039 * @global boolean $cfg['Import']['allow_interrupt']
2041 $cfg['Import']['allow_interrupt'] = true;
2044 * @global integer $cfg['Import']['skip_queries']
2046 $cfg['Import']['skip_queries'] = 0;
2049 * @global string $cfg['Import']['sql_compatibility']
2051 $cfg['Import']['sql_compatibility'] = 'NONE';
2054 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
2056 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
2059 * @global string $cfg['Import']['sql_read_as_multibytes']
2061 $cfg['Import']['sql_read_as_multibytes'] = false;
2064 * @global boolean $cfg['Import']['csv_replace']
2066 $cfg['Import']['csv_replace'] = false;
2069 * @global boolean $cfg['Import']['csv_ignore']
2071 $cfg['Import']['csv_ignore'] = false;
2074 * @global string $cfg['Import']['csv_terminated']
2076 $cfg['Import']['csv_terminated'] = ',';
2079 * @global string $cfg['Import']['csv_enclosed']
2081 $cfg['Import']['csv_enclosed'] = '"';
2084 * @global string $cfg['Import']['csv_escaped']
2086 $cfg['Import']['csv_escaped'] = '"';
2089 * @global string $cfg['Import']['csv_new_line']
2091 $cfg['Import']['csv_new_line'] = 'auto';
2094 * @global string $cfg['Import']['csv_columns']
2096 $cfg['Import']['csv_columns'] = '';
2099 * @global string $cfg['Import']['csv_col_names']
2101 $cfg['Import']['csv_col_names'] = false;
2104 * @global boolean $cfg['Import']['ldi_replace']
2106 $cfg['Import']['ldi_replace'] = false;
2109 * @global boolean $cfg['Import']['ldi_ignore']
2111 $cfg['Import']['ldi_ignore'] = false;
2114 * @global string $cfg['Import']['ldi_terminated']
2116 $cfg['Import']['ldi_terminated'] = ';';
2119 * @global string $cfg['Import']['ldi_enclosed']
2121 $cfg['Import']['ldi_enclosed'] = '"';
2124 * @global string $cfg['Import']['ldi_escaped']
2126 $cfg['Import']['ldi_escaped'] = '\\';
2129 * @global string $cfg['Import']['ldi_new_line']
2131 $cfg['Import']['ldi_new_line'] = 'auto';
2134 * @global string $cfg['Import']['ldi_columns']
2136 $cfg['Import']['ldi_columns'] = '';
2139 * 'auto' for auto-detection, true or false for forcing
2141 * @global string $cfg['Import']['ldi_local_option']
2143 $cfg['Import']['ldi_local_option'] = 'auto';
2146 * @global string $cfg['Import']['ods_col_names']
2148 $cfg['Import']['ods_col_names'] = false;
2151 * @global string $cfg['Import']['ods_empty_rows']
2153 $cfg['Import']['ods_empty_rows'] = true;
2156 * @global string $cfg['Import']['ods_recognize_percentages']
2158 $cfg['Import']['ods_recognize_percentages'] = true;
2161 * @global string $cfg['Import']['ods_recognize_currency']
2163 $cfg['Import']['ods_recognize_currency'] = true;
2165 /*******************************************************************************
2166 * Schema export defaults
2168 $cfg['Schema'] = [];
2171 * pdf/eps/dia/svg
2173 * @global string $cfg['Schema']['format']
2175 $cfg['Schema']['format'] = 'pdf';
2178 * @global string $cfg['Schema']['pdf_show_color']
2180 $cfg['Schema']['pdf_show_color'] = true;
2183 * @global string $cfg['Schema']['pdf_show_keys']
2185 $cfg['Schema']['pdf_show_keys'] = false;
2188 * @global string $cfg['Schema']['pdf_all_tables_same_width']
2190 $cfg['Schema']['pdf_all_tables_same_width'] = false;
2193 * L/P
2195 * @global string $cfg['Schema']['pdf_orientation']
2197 $cfg['Schema']['pdf_orientation'] = 'L';
2200 * @global string $cfg['Schema']['pdf_paper']
2202 $cfg['Schema']['pdf_paper'] = 'A4';
2205 * @global string $cfg['Schema']['pdf_show_grid']
2207 $cfg['Schema']['pdf_show_grid'] = false;
2210 * @global string $cfg['Schema']['pdf_with_doc']
2212 $cfg['Schema']['pdf_with_doc'] = true;
2215 * @global string $cfg['Schema']['pdf_table_order']
2217 $cfg['Schema']['pdf_table_order'] = '';
2220 * @global string $cfg['Schema']['dia_show_color']
2222 $cfg['Schema']['dia_show_color'] = true;
2225 * @global string $cfg['Schema']['dia_show_keys']
2227 $cfg['Schema']['dia_show_keys'] = false;
2230 * L/P
2232 * @global string $cfg['Schema']['dia_orientation']
2234 $cfg['Schema']['dia_orientation'] = 'L';
2237 * @global string $cfg['Schema']['dia_paper']
2239 $cfg['Schema']['dia_paper'] = 'A4';
2242 * @global string $cfg['Schema']['eps_show_color']
2244 $cfg['Schema']['eps_show_color'] = true;
2247 * @global string $cfg['Schema']['eps_show_keys']
2249 $cfg['Schema']['eps_show_keys'] = false;
2252 * @global string $cfg['Schema']['eps_all_tables_same_width']
2254 $cfg['Schema']['eps_all_tables_same_width'] = false;
2257 * L/P
2259 * @global string $cfg['Schema']['eps_orientation']
2261 $cfg['Schema']['eps_orientation'] = 'L';
2264 * @global string $cfg['Schema']['svg_show_color']
2266 $cfg['Schema']['svg_show_color'] = true;
2269 * @global string $cfg['Schema']['svg_show_keys']
2271 $cfg['Schema']['svg_show_keys'] = false;
2274 * @global string $cfg['Schema']['svg_all_tables_same_width']
2276 $cfg['Schema']['svg_all_tables_same_width'] = false;
2278 /*******************************************************************************
2279 * PDF options
2283 * @global array $cfg['PDFPageSizes']
2285 $cfg['PDFPageSizes'] = [
2286 'A3',
2287 'A4',
2288 'A5',
2289 'letter',
2290 'legal',
2294 * @global string $cfg['PDFDefaultPageSize']
2296 $cfg['PDFDefaultPageSize'] = 'A4';
2299 /*******************************************************************************
2300 * Language and character set conversion settings
2304 * Default language to use, if not browser-defined or user-defined
2306 * @global string $cfg['DefaultLang']
2308 $cfg['DefaultLang'] = 'en';
2311 * Default connection collation
2313 * @global string $cfg['DefaultConnectionCollation']
2315 $cfg['DefaultConnectionCollation'] = 'utf8mb4_unicode_ci';
2318 * Force: always use this language, e.g. 'en'
2320 * @global string $cfg['Lang']
2322 $cfg['Lang'] = '';
2325 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2326 * English only
2328 * @global string $cfg['FilterLanguages']
2330 $cfg['FilterLanguages'] = '';
2333 * You can select here which functions will be used for character set conversion.
2334 * Possible values are:
2335 * auto - automatically use available one (first is tested iconv, then
2336 * recode)
2337 * iconv - use iconv or libiconv functions
2338 * recode - use recode_string function
2339 * mb - use mbstring extension
2340 * none - disable encoding conversion
2342 * @global string $cfg['RecodingEngine']
2344 $cfg['RecodingEngine'] = 'auto';
2347 * Specify some parameters for iconv used in character set conversion. See iconv
2348 * documentation for details:
2349 * https://www.gnu.org/savannah-checkouts/gnu/libiconv/documentation/libiconv-1.15/iconv_open.3.html
2351 * @global string $cfg['IconvExtraParams']
2353 $cfg['IconvExtraParams'] = '//TRANSLIT';
2356 * Available character sets for MySQL conversion. currently contains all which could
2357 * be found in lang/* files and few more.
2358 * Character sets will be shown in same order as here listed, so if you frequently
2359 * use some of these move them to the top.
2361 * @global array $cfg['AvailableCharsets']
2363 $cfg['AvailableCharsets'] = [
2364 'iso-8859-1',
2365 'iso-8859-2',
2366 'iso-8859-3',
2367 'iso-8859-4',
2368 'iso-8859-5',
2369 'iso-8859-6',
2370 'iso-8859-7',
2371 'iso-8859-8',
2372 'iso-8859-9',
2373 'iso-8859-10',
2374 'iso-8859-11',
2375 'iso-8859-12',
2376 'iso-8859-13',
2377 'iso-8859-14',
2378 'iso-8859-15',
2379 'windows-1250',
2380 'windows-1251',
2381 'windows-1252',
2382 'windows-1256',
2383 'windows-1257',
2384 'koi8-r',
2385 'big5',
2386 'gb2312',
2387 'utf-16',
2388 'utf-8',
2389 'utf-7',
2390 'x-user-defined',
2391 'euc-jp',
2392 'ks_c_5601-1987',
2393 'tis-620',
2394 'SHIFT_JIS',
2395 'SJIS',
2396 'SJIS-win',
2400 /*******************************************************************************
2401 * Customization & design
2403 * The graphical settings are now located in themes/theme-name/scss/_variables.scss
2407 * enable the left panel pointer
2409 * @global boolean $cfg['NavigationTreePointerEnable']
2411 $cfg['NavigationTreePointerEnable'] = true;
2414 * enable the browse pointer
2416 * @global boolean $cfg['BrowsePointerEnable']
2418 $cfg['BrowsePointerEnable'] = true;
2421 * enable the browse marker
2423 * @global boolean $cfg['BrowseMarkerEnable']
2425 $cfg['BrowseMarkerEnable'] = true;
2428 * textarea size (columns) in edit mode
2429 * (this value will be emphasized (*2) for SQL
2430 * query textareas and (*1.25) for query window)
2432 * @global integer $cfg['TextareaCols']
2434 $cfg['TextareaCols'] = 40;
2437 * textarea size (rows) in edit mode
2439 * @global integer $cfg['TextareaRows']
2441 $cfg['TextareaRows'] = 15;
2444 * double size of textarea size for LONGTEXT columns
2446 * @global boolean $cfg['LongtextDoubleTextarea']
2448 $cfg['LongtextDoubleTextarea'] = true;
2451 * auto-select when clicking in the textarea of the query-box
2453 * @global boolean $cfg['TextareaAutoSelect']
2455 $cfg['TextareaAutoSelect'] = false;
2458 * textarea size (columns) for CHAR/VARCHAR
2460 * @global integer $cfg['CharTextareaCols']
2462 $cfg['CharTextareaCols'] = 40;
2465 * textarea size (rows) for CHAR/VARCHAR
2467 * @global integer $cfg['CharTextareaRows']
2469 $cfg['CharTextareaRows'] = 2;
2472 * Max field data length in browse mode for all non-numeric fields
2474 * @global integer $cfg['LimitChars']
2476 $cfg['LimitChars'] = 50;
2479 * Where to show the edit/copy/delete links in browse mode
2480 * Possible values are 'left', 'right', 'both' and 'none'.
2482 * @global string $cfg['RowActionLinks']
2484 $cfg['RowActionLinks'] = 'left';
2487 * Whether to show row links (Edit, Copy, Delete) and checkboxes for
2488 * multiple row operations even when the selection does not have a unique key.
2490 * @global boolean $cfg['RowActionLinksWithoutUnique']
2492 $cfg['RowActionLinksWithoutUnique'] = false;
2495 * Default sort order by primary key.
2497 * @global string $cfg['TablePrimaryKeyOrder']
2499 $cfg['TablePrimaryKeyOrder'] = 'NONE';
2502 * remember the last way a table sorted
2504 * @global string $cfg['RememberSorting']
2506 $cfg['RememberSorting'] = true;
2509 * shows column comments in 'browse' mode.
2511 * @global boolean $cfg['ShowBrowseComments']
2513 $cfg['ShowBrowseComments'] = true;
2516 * shows column comments in 'table property' mode.
2518 * @global boolean $cfg['ShowPropertyComments']
2520 $cfg['ShowPropertyComments'] = true;
2523 * repeat header names every X cells? (0 = deactivate)
2525 * @global integer $cfg['RepeatCells']
2527 $cfg['RepeatCells'] = 100;
2530 * Set to true if you want DB-based query history.If false, this utilizes
2531 * JS-routines to display query history (lost by window close)
2533 * @global boolean $cfg['QueryHistoryDB']
2535 $cfg['QueryHistoryDB'] = false;
2538 * When using DB-based query history, how many entries should be kept?
2540 * @global integer $cfg['QueryHistoryMax']
2542 $cfg['QueryHistoryMax'] = 25;
2545 * Use MIME-Types (stored in column comments table) for
2547 * @global boolean $cfg['BrowseMIME']
2549 $cfg['BrowseMIME'] = true;
2552 * When approximate count < this, PMA will get exact count for table rows.
2554 * @global integer $cfg['MaxExactCount']
2556 $cfg['MaxExactCount'] = 50000;
2559 * Zero means that no row count is done for views; see the doc
2561 * @global integer $cfg['MaxExactCountViews']
2563 $cfg['MaxExactCountViews'] = 0;
2566 * Sort table and database in natural order
2568 * @global boolean $cfg['NaturalOrder']
2570 $cfg['NaturalOrder'] = true;
2573 * Initial state for sliders
2574 * (open | closed | disabled)
2576 * @global string $cfg['InitialSlidersState']
2578 $cfg['InitialSlidersState'] = 'closed';
2581 * User preferences: disallow these settings
2582 * For possible setting names look in libraries/config/user_preferences.forms.php
2584 * @global array $cfg['UserprefsDisallow']
2586 $cfg['UserprefsDisallow'] = [];
2589 * User preferences: enable the Developer tab
2591 $cfg['UserprefsDeveloperTab'] = false;
2593 /*******************************************************************************
2594 * Window title settings
2598 * title of browser window when a table is selected
2600 * @global string $cfg['TitleTable']
2602 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2605 * title of browser window when a database is selected
2607 * @global string $cfg['TitleDatabase']
2609 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2612 * title of browser window when a server is selected
2614 * @global string $cfg['TitleServer']
2616 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2619 * title of browser window when nothing is selected
2621 * @global string $cfg['TitleDefault']
2623 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2626 /*******************************************************************************
2627 * theme manager
2631 * if you want to use selectable themes and if ThemesPath not empty
2632 * set it to true, else set it to false (default is false);
2634 * @global boolean $cfg['ThemeManager']
2636 $cfg['ThemeManager'] = true;
2639 * set up default theme, you can set up here an valid
2640 * path to themes or 'original' for the original pma-theme
2642 * @global string $cfg['ThemeDefault']
2644 $cfg['ThemeDefault'] = 'pmahomme';
2647 * allow different theme for each configured server
2649 * @global boolean $cfg['ThemePerServer']
2651 $cfg['ThemePerServer'] = false;
2655 * Default query for table
2657 * @global string $cfg['DefaultQueryTable']
2659 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2662 * Default query for database
2664 * @global string $cfg['DefaultQueryDatabase']
2666 $cfg['DefaultQueryDatabase'] = '';
2669 /*******************************************************************************
2670 * SQL Query box settings
2671 * These are the links display in all of the SQL Query boxes
2673 * @global array $cfg['SQLQuery']
2675 $cfg['SQLQuery'] = [];
2678 * Display an "Edit" link on the results page to change a query
2680 * @global boolean $cfg['SQLQuery']['Edit']
2682 $cfg['SQLQuery']['Edit'] = true;
2685 * Display an "Explain SQL" link on the results page
2687 * @global boolean $cfg['SQLQuery']['Explain']
2689 $cfg['SQLQuery']['Explain'] = true;
2692 * Display a "Create PHP code" link on the results page to wrap a query in PHP
2694 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2696 $cfg['SQLQuery']['ShowAsPHP'] = true;
2699 * Display a "Refresh" link on the results page
2701 * @global boolean $cfg['SQLQuery']['Refresh']
2703 $cfg['SQLQuery']['Refresh'] = true;
2706 * Enables autoComplete for table & column names in SQL queries
2708 * default = 'true'
2710 $cfg['EnableAutocompleteForTablesAndColumns'] = true;
2713 /*******************************************************************************
2714 * Web server upload/save/import directories
2718 * Directory for uploaded files that can be executed by phpMyAdmin.
2719 * For example './upload'. Leave empty for no upload directory support.
2720 * Use %u for username inclusion.
2722 * @global string $cfg['UploadDir']
2724 $cfg['UploadDir'] = '';
2727 * Directory where phpMyAdmin can save exported data on server.
2728 * For example './save'. Leave empty for no save directory support.
2729 * Use %u for username inclusion.
2731 * @global string $cfg['SaveDir']
2733 $cfg['SaveDir'] = '';
2736 * Directory where phpMyAdmin can save temporary files.
2738 * @global string $cfg['TempDir']
2740 if (defined('TEMP_DIR')) {
2741 $cfg['TempDir'] = TEMP_DIR;
2742 } else {
2743 $cfg['TempDir'] = ROOT_PATH . 'tmp/';
2748 * Misc. settings
2752 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2753 * which is the only safe way to determine GD version.
2755 * @global string $cfg['GD2Available']
2757 $cfg['GD2Available'] = 'auto';
2760 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2762 * @global array $cfg['TrustedProxies']
2764 $cfg['TrustedProxies'] = [];
2767 * We normally check the permissions on the configuration file to ensure
2768 * it's not world writable. However, phpMyAdmin could be installed on
2769 * a NTFS filesystem mounted on a non-Windows server, in which case the
2770 * permissions seems wrong but in fact cannot be detected. In this case
2771 * a sysadmin would set the following to false.
2773 $cfg['CheckConfigurationPermissions'] = true;
2776 * Limit for length of URL in links. When length would be above this limit, it
2777 * is replaced by form with button.
2778 * This is required as some web servers (IIS) have problems with long URLs.
2779 * The recommended limit is 2000
2780 * (see https://www.boutell.com/newfaq/misc/urllength.html) but we put
2781 * 1000 to accommodate Suhosin, see bug #3358750.
2783 $cfg['LinkLengthLimit'] = 1000;
2786 * Additional string to allow in CSP headers.
2788 $cfg['CSPAllow'] = '';
2791 * Disable the table maintenance mass operations, like optimizing or
2792 * repairing the selected tables of a database. An accidental execution
2793 * of such a maintenance task can enormously slow down a bigger database.
2795 $cfg['DisableMultiTableMaintenance'] = false;
2798 * Whether or not to query the user before sending the error report to
2799 * the phpMyAdmin team when a JavaScript error occurs
2801 * Available options
2802 * (ask | always | never)
2804 * @global string $cfg['SendErrorReports']
2806 $cfg['SendErrorReports'] = 'ask';
2809 * Whether Enter or Ctrl+Enter executes queries in the console.
2811 * @global boolean $cfg['ConsoleEnterExecutes']
2813 $cfg['ConsoleEnterExecutes'] = false;
2816 * Zero Configuration mode.
2818 * @global boolean $cfg['ZeroConf']
2820 $cfg['ZeroConf'] = true;
2822 /*******************************************************************************
2823 * Developers ONLY!
2825 * @global array $cfg['DBG']
2827 $cfg['DBG'] = [];
2830 * Output executed queries and their execution times
2832 * @global boolean $cfg['DBG']['sql']
2834 $cfg['DBG']['sql'] = false;
2837 * Log executed queries and their execution times to syslog
2839 * @global boolean $cfg['DBG']['sqllog']
2841 $cfg['DBG']['sqllog'] = false;
2844 * Enable to let server present itself as demo server.
2846 * @global boolean $cfg['DBG']['demo']
2848 $cfg['DBG']['demo'] = false;
2851 * Enable Simple two-factor authentication
2853 * @global boolean $cfg['DBG']['simple2fa']
2855 $cfg['DBG']['simple2fa'] = false;
2858 * Sets the working environment
2860 * This only needs to be changed when you are developing phpMyAdmin itself.
2861 * The development mode may display debug information in some places.
2863 * Possible values are 'production' or 'development'
2865 $cfg['environment'] = 'production';
2867 /*******************************************************************************
2868 * MySQL settings
2872 * Default functions for above defined groups
2874 * @global array $cfg['DefaultFunctions']
2876 $cfg['DefaultFunctions'] = [
2877 'FUNC_CHAR' => '',
2878 'FUNC_DATE' => '',
2879 'FUNC_NUMBER' => '',
2880 'FUNC_SPATIAL' => 'GeomFromText',
2881 'FUNC_UUID' => 'UUID',
2882 'first_timestamp' => 'NOW',
2886 * Max rows retrieved for zoom search
2888 $cfg['maxRowPlotLimit'] = 500;
2891 * Show Git revision if applicable
2893 * @global boolean $cfg['ShowGitRevision']
2895 $cfg['ShowGitRevision'] = true;
2898 * MySQL minimal version required
2900 * @global array $cfg['MysqlMinVersion']
2902 $cfg['MysqlMinVersion'] = [
2903 'internal' => 50500,
2904 'human' => '5.5.0',
2908 * Disable shortcuts
2910 * @global array $cfg['DisableShortcutKeys']
2912 $cfg['DisableShortcutKeys'] = false;
2915 * Console configuration
2917 * This is mostly meant for user preferences.
2919 $cfg['Console'] = [
2920 'StartHistory' => false,
2921 'AlwaysExpand' => false,
2922 'CurrentQuery' => true,
2923 'EnterExecutes' => false,
2924 'DarkTheme' => false,
2925 'Mode' => 'info',
2926 'Height' => 92,
2927 'GroupQueries' => false,
2928 'OrderBy' => 'exec',
2929 'Order' => 'asc',
2933 /*******************************************************************************
2934 * Default options for transformations
2938 * Initialize default transformations array
2940 * @global array $cfg['DefaultTransformations']
2942 $cfg['DefaultTransformations'] = [];
2945 * Default transformations for Substring
2947 * @global array $cfg['DefaultTransformations']['Substring']
2949 $cfg['DefaultTransformations']['Substring'] = [
2951 'all',
2952 '…',
2956 * Default transformations for Bool2Text
2958 * @global array $cfg['DefaultTransformations']['Bool2Text']
2960 $cfg['DefaultTransformations']['Bool2Text'] = [
2961 'T',
2962 'F',
2966 * Default transformations for External
2968 * @global array $cfg['DefaultTransformations']['External']
2970 $cfg['DefaultTransformations']['External'] = [
2972 '-f /dev/null -i -wrap -q',
2978 * Default transformations for PreApPend
2980 * @global array $cfg['DefaultTransformations']['PreApPend']
2982 $cfg['DefaultTransformations']['PreApPend'] = [
2988 * Default transformations for Hex
2990 * @global array $cfg['DefaultTransformations']['Hex']
2992 $cfg['DefaultTransformations']['Hex'] = ['2'];
2995 * Default transformations for DateFormat
2997 * @global array $cfg['DefaultTransformations']['DateFormat']
2999 $cfg['DefaultTransformations']['DateFormat'] = [
3002 'local',
3006 * Set default for FirstDayOfCalendar
3008 * @global integer $cfg['FirstDayOfCalendar']
3010 $cfg['FirstDayOfCalendar'] = 0;
3013 * Default transformations for Inline
3015 * @global array $cfg['DefaultTransformations']['Inline']
3017 $cfg['DefaultTransformations']['Inline'] = [
3018 '100',
3019 100,
3021 $cfg['DefaultTransformations']['Inline']['wrapper_link'] = null;
3022 $cfg['DefaultTransformations']['Inline']['wrapper_params'] = [];
3025 * Default transformations for TextImageLink
3027 * @global array $cfg['DefaultTransformations']['TextImageLink']
3029 $cfg['DefaultTransformations']['TextImageLink'] = [
3030 null,
3031 100,
3036 * Default transformations for TextLink
3038 * @global array $cfg['DefaultTransformations']['TextLink']
3040 $cfg['DefaultTransformations']['TextLink'] = [
3041 null,
3042 null,
3043 null,