Translation update done using Pootle.
[phpmyadmin-themes.git] / libraries / config.default.php
blob3f56bd1d4d0fcf6c591f050bb3ac56184d12a619
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 Documentation.html
19 * @version $Id$
20 * @package phpMyAdmin
23 /**
24 * Your phpMyAdmin URL.
26 * Complete the variable below with the full URL ie
27 * http://www.your_web.net/path_to_your_phpMyAdmin_directory/
29 * It must contain characters that are valid for a URL, and the path is
30 * case sensitive on some Web servers, for example Unix-based servers.
32 * In most cases you can leave this variable empty, as the correct value
33 * will be detected automatically. However, we recommend that you do
34 * test to see that the auto-detection code works in your system. A good
35 * test is to browse a table, then edit a row and save it. There will be
36 * an error message if phpMyAdmin cannot auto-detect the correct value.
38 * @global string $cfg['PmaAbsoluteUri']
40 $cfg['PmaAbsoluteUri'] = '';
42 /**
43 * Disable the default warning that is displayed on the DB Details Structure page if
44 * any of the required Tables for the relation features could not be found
46 * @global boolean $cfg['PmaNoRelation_DisableWarning']
48 $cfg['PmaNoRelation_DisableWarning'] = false;
50 /**
51 * Disable the default warning that is displayed if Suhosin is detected
53 * @global boolean $cfg['SuhosinDisableWarning']
55 $cfg['SuhosinDisableWarning'] = false;
57 /**
58 * Disable the default warning that is displayed if mcrypt is missing for
59 * cookie authentication.
61 * @global boolean $cfg['McryptDisableWarning']
63 $cfg['McryptDisableWarning'] = false;
65 /**
66 * Allows phpMyAdmin to be included from a document located on
67 * another domain; setting this to true is a potential security hole
69 * @global boolean $cfg['AllowThirdPartyFraming']
71 $cfg['AllowThirdPartyFraming'] = false;
73 /**
74 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
75 * at least one server configuration uses 'cookie' auth_type, enter here a
76 * pass phrase that will be used by blowfish. The maximum length seems to be 46
77 * characters.
79 * @global string $cfg['blowfish_secret']
81 $cfg['blowfish_secret'] = '';
84 /*******************************************************************************
85 * Server(s) configuration
87 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
88 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
89 * to ''. If you want more than one server, just copy following section
90 * (including $i incrementation) several times. There is no need to define
91 * full server array, just define values you need to change.
93 * @global array $cfg['Servers']
95 $cfg['Servers'] = array();
97 $i = 1;
99 /**
100 * MySQL hostname or IP address
102 * @global string $cfg['Servers'][$i]['host']
104 $cfg['Servers'][$i]['host'] = 'localhost';
107 * MySQL port - leave blank for default port
109 * @global string $cfg['Servers'][$i]['port']
111 $cfg['Servers'][$i]['port'] = '';
114 * Path to the socket - leave blank for default socket
116 * @global string $cfg['Servers'][$i]['socket']
118 $cfg['Servers'][$i]['socket'] = '';
121 * Use SSL for connecting to MySQL server?
123 * @global boolean $cfg['Servers'][$i]['ssl']
125 $cfg['Servers'][$i]['ssl'] = false;
128 * How to connect to MySQL server ('tcp' or 'socket')
130 * @global string $cfg['Servers'][$i]['connect_type']
132 $cfg['Servers'][$i]['connect_type'] = 'tcp';
135 * The PHP MySQL extension to use ('mysql' or 'mysqli')
137 * @global string $cfg['Servers'][$i]['extension']
139 $cfg['Servers'][$i]['extension'] = 'mysql';
141 /* rajk - added for blobstreaming */
142 $cfg['Servers'][$i]['bs_garbage_threshold'] = '';
143 $cfg['Servers'][$i]['bs_repository_threshold'] = '';
144 $cfg['Servers'][$i]['bs_temp_blob_timeout'] = '';
145 $cfg['Servers'][$i]['bs_temp_log_threshold'] = '';
148 * Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
150 * @global boolean $cfg['Servers'][$i]['compress']
152 $cfg['Servers'][$i]['compress'] = false;
155 * MySQL control user settings (this user must have read-only
156 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
157 * used for all relational features (pmadb)
159 * @global string $cfg['Servers'][$i]['controluser']
161 $cfg['Servers'][$i]['controluser'] = '';
164 * MySQL control user settings (this user must have read-only
165 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
166 * used for all relational features (pmadb)
168 * @global string $cfg['Servers'][$i]['controlpass']
170 $cfg['Servers'][$i]['controlpass'] = '';
173 * Authentication method (valid choices: config, http, signon or cookie)
175 * @global string $cfg['Servers'][$i]['auth_type']
177 $cfg['Servers'][$i]['auth_type'] = 'cookie';
180 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
182 * @global string $cfg['Servers'][$i]['auth_http_realm']
184 $cfg['Servers'][$i]['auth_http_realm'] = '';
187 * File containing Swekey ids and login names (see /contrib);
188 * leave empty to deactivate Swekey hardware authentication
190 * @global string $cfg['Servers'][$i]['auth_swekey_config']
192 $cfg['Servers'][$i]['auth_swekey_config'] = '';
195 * MySQL user
197 * @global string $cfg['Servers'][$i]['user']
199 $cfg['Servers'][$i]['user'] = 'root';
202 * MySQL password (only needed with 'config' auth_type)
204 * @global string $cfg['Servers'][$i]['password']
206 $cfg['Servers'][$i]['password'] = '';
209 * Session to use for 'signon' authentication method
211 * @global string $cfg['Servers'][$i]['SignonSession']
213 $cfg['Servers'][$i]['SignonSession'] = '';
216 * URL where to redirect user to login for 'signon' authentication method
218 * @global string $cfg['Servers'][$i]['SignonURL']
220 $cfg['Servers'][$i]['SignonURL'] = '';
223 * URL where to redirect user after logout
225 * @global string $cfg['Servers'][$i]['LogoutURL']
227 $cfg['Servers'][$i]['LogoutURL'] = '';
230 * Whether to try to connect without password
232 * @global boolean $cfg['Servers'][$i]['nopassword']
234 $cfg['Servers'][$i]['nopassword'] = false;
237 * If set to a db-name, only this db is displayed in left frame
238 * It may also be an array of db-names, where sorting order is relevant.
240 * @global string $cfg['Servers'][$i]['only_db']
242 $cfg['Servers'][$i]['only_db'] = '';
245 * Database name to be hidden from listings
247 * @global string $cfg['Servers'][$i]['hide_db']
249 $cfg['Servers'][$i]['hide_db'] = '';
252 * Verbose name for this host - leave blank to show the hostname
253 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
255 * @global string $cfg['Servers'][$i]['verbose']
257 $cfg['Servers'][$i]['verbose'] = '';
260 * Database used for Relation, Bookmark and PDF Features
261 * (see scripts/create_tables.sql)
262 * - leave blank for no support
263 * SUGGESTED: 'phpmyadmin'
265 * @global string $cfg['Servers'][$i]['pmadb']
267 $cfg['Servers'][$i]['pmadb'] = '';
270 * Bookmark table
271 * - leave blank for no bookmark support
272 * SUGGESTED: 'pma_bookmark'
274 * @global string $cfg['Servers'][$i]['bookmarktable']
276 $cfg['Servers'][$i]['bookmarktable'] = '';
279 * table to describe the relation between links (see doc)
280 * - leave blank for no relation-links support
281 * SUGGESTED: 'pma_relation'
283 * @global string $cfg['Servers'][$i]['relation']
285 $cfg['Servers'][$i]['relation'] = '';
288 * table to describe the display fields
289 * - leave blank for no display fields support
290 * SUGGESTED: 'pma_table_info'
292 * @global string $cfg['Servers'][$i]['table_info']
294 $cfg['Servers'][$i]['table_info'] = '';
297 * table to describe the tables position for the PDF schema
298 * - leave blank for no PDF schema support
299 * SUGGESTED: 'pma_table_coords'
301 * @global string $cfg['Servers'][$i]['table_coords']
303 $cfg['Servers'][$i]['table_coords'] = '';
306 * table to describe pages of relationpdf
307 * - leave blank if you don't want to use this
308 * SUGGESTED: 'pma_pdf_pages'
310 * @global string $cfg['Servers'][$i]['pdf_pages']
312 $cfg['Servers'][$i]['pdf_pages'] = '';
315 * table to store column information
316 * - leave blank for no column comments/mime types
317 * SUGGESTED: 'pma_column_info'
319 * @global string $cfg['Servers'][$i]['column_info']
321 $cfg['Servers'][$i]['column_info'] = '';
324 * table to store SQL history
325 * - leave blank for no SQL query history
326 * SUGGESTED: 'pma_history'
328 * @global string $cfg['Servers'][$i]['history']
330 $cfg['Servers'][$i]['history'] = '';
333 * table to store the coordinates for Designer
334 * - leave blank for no Designer feature
335 * SUGGESTED: 'pma_designer_coords'
337 * @global string $cfg['Servers'][$i]['designer_coords']
339 $cfg['Servers'][$i]['designer_coords'] = '';
342 * table to store SQL tracking
343 * - leave blank for no SQL tracking
344 * SUGGESTED: 'pma_tracking'
346 * @global string $cfg['Servers'][$i]['tracking']
348 $cfg['Servers'][$i]['tracking'] = '';
351 * set to false if you know that your pma_* tables are up to date.
352 * This prevents compatibility checks and thereby increases performance.
354 * @global boolean $cfg['Servers'][$i]['verbose_check']
356 $cfg['Servers'][$i]['verbose_check'] = true;
359 * whether to allow root login
361 * @global boolean $cfg['Servers'][$i]['AllowRoot']
363 $cfg['Servers'][$i]['AllowRoot'] = true;
366 * whether to allow login of any user without a password
368 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
370 $cfg['Servers'][$i]['AllowNoPassword'] = false;
373 * Host authentication order, leave blank to not use
375 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
377 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
380 * Host authentication rules, leave blank for defaults
382 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
384 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
387 * Disable use of INFORMATION_SCHEMA
389 * @see http://sf.net/support/tracker.php?aid=1849494
390 * @see http://bugs.mysql.com/19588
391 * @global boolean $cfg['Servers'][$i]['DisableIS']
393 $cfg['Servers'][$i]['DisableIS'] = true;
396 * SQL command to fetch available databases
398 * by default most user will be fine with SHOW DATABASES,
399 * for servers with a huge amount of databases it is possible to
400 * define a command which executes faster but with less information
402 * especially when accessing database servers from ISPs changing this command
403 * can result in a great speed improvement
405 * false will disable fetching databases from the server, only databases in
406 * $cfg['Servers'][$i]['only_db'] will be displayed
408 * #user# will be replaced by current user
410 * examples:
411 * 'SHOW DATABASES'
412 * "SHOW DATABASES LIKE '#user#\_%'"
413 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
414 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
415 * false
417 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
419 $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
422 * Whether to count tables when showing database list
424 * @global array $cfg['Servers'][$i]['CountTables']
426 $cfg['Servers'][$i]['CountTables'] = true;
429 * Whether the tracking mechanism creates versions for tables and views automatically.
431 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
434 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
437 * Defines the list of statements the auto-creation uses for new versions.
439 * @global string $cfg['Servers'][$i]['tracking_default_statements']
442 $cfg['Servers'][$i]['tracking_default_statements'] = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,' .
443 'CREATE INDEX,DROP INDEX,' .
444 'INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,' .
445 'CREATE VIEW,ALTER VIEW,DROP VIEW,' .
446 'CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
449 * Whether a DROP VIEW IF EXISTS statement will added as first line to the log when creating a view.
451 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
454 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
457 * Whether a DROP TABLE IF EXISTS statement will added as first line to the log when creating a table.
459 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
462 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
465 * Whether a DROP DATABASE IF EXISTS statement will added as first line to the log when creating a database.
467 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
470 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
473 * Whether a DROP DATABASE IF EXISTS statement will added as first line to the log when creating a database.
475 * @global bool $cfg['Servers'][$i]['tracking_version_drop_database']
478 $cfg['Servers'][$i]['tracking_version_drop_database'] = true;
481 * Default server (0 = no default server)
483 * If you have more than one server configured, you can set $cfg['ServerDefault']
484 * to any one of them to auto-connect to that server when phpMyAdmin is started,
485 * or set it to 0 to be given a list of servers without logging in
486 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
487 * set to that server.
489 * @global integer $cfg['ServerDefault']
491 $cfg['ServerDefault'] = 1;
494 * Other core phpMyAdmin settings
497 * maximum number of db's displayed in left frame and database list
499 * @global integer $cfg['MaxDbList']
501 $cfg['MaxDbList'] = 100;
504 * maximum number of tables displayed in table list
506 * @global integer $cfg['MaxTableList']
508 $cfg['MaxTableList'] = 250;
511 * maximum number of characters when a SQL query is displayed
513 * @global integer $cfg['MaxCharactersInDisplayedSQL']
515 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
518 * use GZIP output buffering if possible (true|false|'auto')
520 * @global string $cfg['OBGzip']
522 $cfg['OBGzip'] = 'auto';
525 * use persistent connections to MySQL database
527 * @global boolean $cfg['PersistentConnections']
529 $cfg['PersistentConnections'] = false;
532 * whether to force using HTTPS
534 * @global boolean $cfg['ForceSSL']
536 $cfg['ForceSSL'] = false;
539 * maximum execution time in seconds (0 for no limit)
541 * @global integer $cfg['ExecTimeLimit']
543 $cfg['ExecTimeLimit'] = 300;
546 * Path for storing session data (session_save_path PHP parameter).
548 * @global integer $cfg['SessionSavePath']
550 $cfg['SessionSavePath'] = '';
553 * maximum allocated bytes (0 for no limit)
555 * @global integer $cfg['MemoryLimit']
557 $cfg['MemoryLimit'] = 0;
560 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
562 * @global boolean $cfg['SkipLockedTables']
564 $cfg['SkipLockedTables'] = false;
567 * show SQL queries as run
569 * @global boolean $cfg['ShowSQL']
571 $cfg['ShowSQL'] = true;
574 * show a 'Drop database' link to normal users
576 * @global boolean $cfg['AllowUserDropDatabase']
578 $cfg['AllowUserDropDatabase'] = false;
581 * confirm 'DROP TABLE' & 'DROP DATABASE'
583 * @global boolean $cfg['Confirm']
585 $cfg['Confirm'] = true;
588 * recall previous login in cookie authentication mode or not
590 * @global boolean $cfg['LoginCookieRecall']
592 $cfg['LoginCookieRecall'] = true;
595 * validity of cookie login (in seconds)
597 * @global integer $cfg['LoginCookieValidity']
599 $cfg['LoginCookieValidity'] = 1440;
602 * how long login cookie should be stored (in seconds)
604 * @global integer $cfg['LoginCookieStore']
606 $cfg['LoginCookieStore'] = 0;
609 * whether to delete all login cookies on logout
611 * @global boolean $cfg['LoginCookieDeleteAll']
613 $cfg['LoginCookieDeleteAll'] = true;
616 * whether to enable the "database search" feature or not
618 * @global boolean $cfg['UseDbSearch']
620 $cfg['UseDbSearch'] = true;
623 * if set to true, PMA continues computing multiple-statement queries
624 * even if one of the queries failed
626 * @global boolean $cfg['IgnoreMultiSubmitErrors']
628 $cfg['IgnoreMultiSubmitErrors'] = false;
631 * if set to true, PMA will show the affected rows of EACH statement on
632 * multiple-statement queries. See the libraries/import.php file for
633 * hard coded defaults on how many queries a statement may contain!
635 * @global boolean $cfg['VerboseMultiSubmit']
637 $cfg['VerboseMultiSubmit'] = true;
640 * allow login to any user entered server in cookie based authentication
642 * @global boolean $cfg['AllowArbitraryServer']
644 $cfg['AllowArbitraryServer'] = false;
647 /*******************************************************************************
648 * Error handler configuration
650 * this configures phpMyAdmin's own error handler, it is used to avoid information
651 * disclosure, gather errors for logging, reporting and displaying
653 * @global array $cfg['Error_Handler']
655 $cfg['Error_Handler'] = array();
658 * whether to display errors or not
660 * this does not affect errors of type E_USER_*
662 * @global boolean $cfg['Error_Handler']['display']
664 $cfg['Error_Handler']['display'] = false;
667 * (NOT IMPLEMENTED YET)
668 * where to log errors, false or empty to disable
670 * <code>
671 * // EXAMPLE log to std PHP error log
672 * $cfg['Error_Handler']['log'] = array(0);
673 * // EXAMPLE mail errors
674 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
675 * // EXAMPLE append to specific file
676 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
677 * </code>
679 * @see http://php.net/error_log
680 * @global string $cfg['Error_Handler']['log']
682 //$cfg['Error_Handler']['log'] = false;
685 * gather all errors in session to be displayed on a error reporting page
686 * for viewing and/or sending to phpMyAdmin developer team
688 * @global boolean $cfg['Error_Handler']['gather']
690 $cfg['Error_Handler']['gather'] = false;
693 /*******************************************************************************
694 * Left frame setup
698 * use a select-based menu and display only the current tables in the left frame.
700 * @global boolean $cfg['LeftFrameLight']
702 $cfg['LeftFrameLight'] = true;
705 * turn the select-based light menu into a tree
707 * @global boolean $cfg['LeftFrameDBTree']
709 $cfg['LeftFrameDBTree'] = true;
712 * the separator to sub-tree the select-based light menu tree
714 * @global string $cfg['LeftFrameDBSeparator']
716 $cfg['LeftFrameDBSeparator'] = '_';
719 * Which string will be used to generate table prefixes
720 * to split/nest tables into multiple categories
722 * @global string $cfg['LeftFrameTableSeparator']
724 $cfg['LeftFrameTableSeparator']= '__';
727 * How many sublevels should be displayed when splitting up tables by the above Separator
729 * @global integer $cfg['LeftFrameTableLevel']
731 $cfg['LeftFrameTableLevel'] = 1;
734 * display table comment as tooltip in left frame
736 * @global boolean $cfg['ShowTooltip']
738 $cfg['ShowTooltip'] = true;
741 * if ShowToolTip is enabled, this defines that table/db comments
743 * @global boolean $cfg['ShowTooltipAliasDB']
745 $cfg['ShowTooltipAliasDB'] = false;
748 * are shown (in the left menu and db_structure) instead of table/db names.
749 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
750 * descriptors, not the table itself.
752 * @global boolean $cfg['ShowTooltipAliasTB']
754 $cfg['ShowTooltipAliasTB'] = false;
757 * display logo at top of left frame
759 * @global boolean $cfg['LeftDisplayLogo']
761 $cfg['LeftDisplayLogo'] = true;
764 * where should logo link point to (can also contain an external URL)
766 * @global string $cfg['LeftLogoLink']
768 $cfg['LeftLogoLink'] = 'main.php';
771 * whether to open the linked page in the main window ('main') or
772 * in a new window ('new')
774 * @global string $cfg['LeftLogoLinkWindow']
776 $cfg['LeftLogoLinkWindow'] = 'main';
779 * display server choice at top of left frame
781 * @global boolean $cfg['LeftDisplayServers']
783 $cfg['LeftDisplayServers'] = false;
786 * server choice as links
788 * @global boolean $cfg['DisplayServersList']
790 $cfg['DisplayServersList'] = false;
793 * database choice in light as links
795 * @global boolean $cfg['DisplayDatabasesList']
797 $cfg['DisplayDatabasesList'] = 'auto';
800 * target of the navigation panel quick access icon
802 * Possible values:
803 * 'tbl_structure.php' = fields list
804 * 'tbl_sql.php' = SQL form
805 * 'tbl_select.php' = search page
806 * 'tbl_change.php' = insert row page
807 * 'sql.php' = browse page
809 * @global string $cfg['LeftDefaultTabTable']
811 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
814 /*******************************************************************************
815 * In the main frame, at startup...
819 * allow to display statistics and space usage in the pages about database
820 * details and table properties
822 * @global boolean $cfg['ShowStats']
824 $cfg['ShowStats'] = true;
827 * show PHP info link
829 * @global boolean $cfg['ShowPhpInfo']
831 $cfg['ShowPhpInfo'] = false;
834 * show MySQL server and web server information
836 * @global boolean $cfg['ShowServerInfo']
838 $cfg['ShowServerInfo'] = true;
841 * show change password link
843 * @global boolean $cfg['ShowChgPassword']
845 $cfg['ShowChgPassword'] = true;
848 * show create database form
850 * @global boolean $cfg['ShowCreateDb']
852 $cfg['ShowCreateDb'] = true;
855 * suggest a new DB name if possible (false = keep empty)
857 * @global boolean $cfg['SuggestDBName']
859 $cfg['SuggestDBName'] = true;
862 /*******************************************************************************
863 * In browse mode...
867 * Use icons instead of text for the navigation bar buttons
868 * and on right panel top menu (server db table) (true|false|'both')
870 * @global string $cfg['NavigationBarIconic']
872 $cfg['NavigationBarIconic'] = true;
875 * Defines whether a user should be displayed a "show all (records)"
876 * button in browse mode or not.
878 * @global boolean $cfg['ShowAll']
880 $cfg['ShowAll'] = false;
883 * Number of rows displayed when browsing a result set. If the result
884 * set contains more rows, "Previous" and "Next".
886 * @global integer $cfg['MaxRows']
888 $cfg['MaxRows'] = 30;
891 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
892 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
893 * ascending order else-)
895 * @global string $cfg['Order']
897 $cfg['Order'] = 'ASC';
900 * default for 'Show binary contents as HEX'
902 * @global string $cfg['DisplayBinaryAsHex']
904 $cfg['DisplayBinaryAsHex'] = true;
907 /*******************************************************************************
908 * In edit mode...
912 * disallow editing of binary fields
913 * valid values are:
914 * false allow editing
915 * 'blob' allow editing except for BLOB fields
916 * 'all' disallow editing
918 * @global string $cfg['ProtectBinary']
920 $cfg['ProtectBinary'] = 'blob';
923 * Display the function fields in edit/insert mode
925 * @global boolean $cfg['ShowFunctionFields']
927 $cfg['ShowFunctionFields'] = true;
930 * Which editor should be used for CHAR/VARCHAR fields:
931 * input - allows limiting of input length
932 * textarea - allows newlines in fields
934 * @global string $cfg['CharEditing']
936 $cfg['CharEditing'] = 'input';
939 * How many rows can be inserted at one time
941 * @global integer $cfg['InsertRows']
943 $cfg['InsertRows'] = 2;
946 * Sort order for items in a foreign-key drop-down list.
947 * 'content' is the referenced data, 'id' is the key value.
949 * @global array $cfg['ForeignKeyDropdownOrder']
951 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
954 * A drop-down list will be used if fewer items are present
956 * @global integer $cfg['ForeignKeyMaxLimit']
958 $cfg['ForeignKeyMaxLimit'] = 100;
961 /*******************************************************************************
962 * For the export features...
966 * Allow for the use of zip compression (requires zip support to be enabled)
968 * @global boolean $cfg['ZipDump']
970 $cfg['ZipDump'] = true;
973 * Allow for the use of gzip compression (requires zlib)
975 * @global boolean $cfg['GZipDump']
977 $cfg['GZipDump'] = true;
980 * Allow for the use of bzip2 compression (requires bz2 extension)
982 * @global boolean $cfg['BZipDump']
984 $cfg['BZipDump'] = true;
987 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
988 * If you encounter problems with created gzip/bzip2 files disable this feature.
990 * @global boolean $cfg['CompressOnFly']
992 $cfg['CompressOnFly'] = true;
995 /*******************************************************************************
996 * Tabs display settings
1000 * Use graphically less intense menu tabs
1002 * @global boolean $cfg['LightTabs']
1004 $cfg['LightTabs'] = false;
1007 * Use icons instead of text for the table display of a database (true|false|'both')
1009 * @global boolean $cfg['PropertiesIconic']
1011 $cfg['PropertiesIconic'] = true;
1014 * How many columns should be used for table display of a database?
1015 * (a value larger than 1 results in some information being hidden)
1017 * @global integer $cfg['PropertiesNumColumns']
1019 $cfg['PropertiesNumColumns'] = 1;
1022 * Possible values:
1023 * 'main.php' = the welcome page
1024 * (recommended for multiuser setups)
1025 * 'server_databases.php' = list of databases
1026 * 'server_status.php' = runtime information
1027 * 'server_variables.php' = MySQL server variables
1028 * 'server_privileges.php' = user management
1029 * 'server_processlist.php' = process list
1031 * @global string $cfg['DefaultTabServer']
1033 $cfg['DefaultTabServer'] = 'main.php';
1036 * Possible values:
1037 * 'db_structure.php' = tables list
1038 * 'db_sql.php' = SQL form
1039 * 'db_search.php' = search query
1040 * 'db_operations.php' = operations on database
1042 * @global string $cfg['DefaultTabDatabase']
1044 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1047 * Possible values:
1048 * 'tbl_structure.php' = fields list
1049 * 'tbl_sql.php' = SQL form
1050 * 'tbl_select.php' = search page
1051 * 'tbl_change.php' = insert row page
1052 * 'sql.php' = browse page
1054 * @global string $cfg['DefaultTabTable']
1056 $cfg['DefaultTabTable'] = 'sql.php';
1059 * Mapping between script filenames and translation keys
1061 * Lookup can be performed by PMA_getTitleForTarget()
1063 * @global string $cfg['DefaultTabTranslationMapping']
1065 $cfg['DefaultTabTranslationMapping'] = array(
1067 // Values for $cfg['DefaultTabTable']
1068 'tbl_structure.php' => 'strStructure',
1069 'tbl_sql.php' => 'strSQL',
1070 'tbl_select.php' => 'strSearch',
1071 'tbl_change.php' => 'strInsert',
1072 'sql.php' => 'strBrowse',
1074 // Values for $cfg['DefaultTabDatabase']
1075 'db_structure.php' => 'strStructure',
1076 'db_sql.php' => 'strSQL',
1077 'db_search.php' => 'strSearch',
1078 'db_operations.php' => 'strOperations',
1081 /*******************************************************************************
1082 * Export defaults
1084 $cfg['Export'] = array();
1087 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1089 * @global string $cfg['Export']['format']
1091 $cfg['Export']['format'] = 'sql';
1094 * none/zip/gzip/bzip2
1096 * @global string $cfg['Export']['compression']
1098 $cfg['Export']['compression'] = 'none';
1103 * @global boolean $cfg['Export']['asfile']
1105 $cfg['Export']['asfile'] = true;
1110 * @global string $cfg['Export']['charset']
1112 $cfg['Export']['charset'] = '';
1117 * @global boolean $cfg['Export']['onserver']
1119 $cfg['Export']['onserver'] = false;
1124 * @global boolean $cfg['Export']['onserver_overwrite']
1126 $cfg['Export']['onserver_overwrite'] = false;
1131 * @global boolean $cfg['Export']['remember_file_template']
1133 $cfg['Export']['remember_file_template'] = true;
1138 * @global string $cfg['Export']['file_template_table']
1140 $cfg['Export']['file_template_table'] = '__TABLE__';
1145 * @global string $cfg['Export']['file_template_database']
1147 $cfg['Export']['file_template_database'] = '__DB__';
1152 * @global string $cfg['Export']['file_template_server']
1154 $cfg['Export']['file_template_server'] = '__SERVER__';
1159 * @global boolean $cfg['Export']['ods_columns']
1161 $cfg['Export']['ods_columns'] = false;
1166 * @global string $cfg['Export']['ods_null']
1168 $cfg['Export']['ods_null'] = 'NULL';
1173 * @global boolean $cfg['Export']['odt_structure']
1175 $cfg['Export']['odt_structure'] = true;
1180 * @global boolean $cfg['Export']['odt_data']
1182 $cfg['Export']['odt_data'] = true;
1187 * @global boolean $cfg['Export']['odt_columns']
1189 $cfg['Export']['odt_columns'] = true;
1194 * @global boolean $cfg['Export']['odt_relation']
1196 $cfg['Export']['odt_relation'] = true;
1201 * @global boolean $cfg['Export']['odt_comments']
1203 $cfg['Export']['odt_comments'] = true;
1208 * @global boolean $cfg['Export']['odt_mime']
1210 $cfg['Export']['odt_mime'] = true;
1215 * @global string $cfg['Export']['odt_null']
1217 $cfg['Export']['odt_null'] = 'NULL';
1222 * @global boolean $cfg['Export']['htmlword_structure']
1224 $cfg['Export']['htmlword_structure'] = true;
1229 * @global boolean $cfg['Export']['htmlword_data']
1231 $cfg['Export']['htmlword_data'] = true;
1236 * @global boolean $cfg['Export']['htmlword_columns']
1238 $cfg['Export']['htmlword_columns'] = false;
1243 * @global string $cfg['Export']['htmlword_null']
1245 $cfg['Export']['htmlword_null'] = 'NULL';
1250 * @global boolean $cfg['Export']['texytext_structure']
1252 $cfg['Export']['texytext_structure'] = TRUE;
1257 * @global boolean $cfg['Export']['texytext_data']
1259 $cfg['Export']['texytext_data'] = TRUE;
1264 * @global boolean $cfg['Export']['texytext_columns']
1266 $cfg['Export']['texytext_columns'] = FALSE;
1271 * @global string $cfg['Export']['texytext_null']
1273 $cfg['Export']['texytext_null'] = 'NULL';
1278 * @global boolean $cfg['Export']['xls_columns']
1280 $cfg['Export']['xls_columns'] = false;
1285 * @global string $cfg['Export']['xls_null']
1287 $cfg['Export']['xls_null'] = 'NULL';
1292 * @global boolean $cfg['Export']['xlsx_columns']
1294 $cfg['Export']['xlsx_columns'] = false;
1299 * @global string $cfg['Export']['xlsx_null']
1301 $cfg['Export']['xlsx_null'] = 'NULL';
1306 * @global boolean $cfg['Export']['csv_columns']
1308 $cfg['Export']['csv_columns'] = false;
1313 * @global string $cfg['Export']['csv_null']
1315 $cfg['Export']['csv_null'] = 'NULL';
1320 * @global string $cfg['Export']['csv_separator']
1322 $cfg['Export']['csv_separator'] = ';';
1327 * @global string $cfg['Export']['csv_enclosed']
1329 $cfg['Export']['csv_enclosed'] = '"';
1334 * @global string $cfg['Export']['csv_escaped']
1336 $cfg['Export']['csv_escaped'] = '\\';
1341 * @global string $cfg['Export']['csv_terminated']
1343 $cfg['Export']['csv_terminated'] = 'AUTO';
1348 * @global boolean $cfg['Export']['excel_columns']
1350 $cfg['Export']['excel_columns'] = false;
1355 * @global string $cfg['Export']['excel_null']
1357 $cfg['Export']['excel_null'] = 'NULL';
1360 * win/mac
1362 * @global string $cfg['Export']['excel_edition']
1364 $cfg['Export']['excel_edition'] = 'win';
1369 * @global boolean $cfg['Export']['latex_structure']
1371 $cfg['Export']['latex_structure'] = true;
1376 * @global boolean $cfg['Export']['latex_data']
1378 $cfg['Export']['latex_data'] = true;
1383 * @global boolean $cfg['Export']['latex_columns']
1385 $cfg['Export']['latex_columns'] = true;
1390 * @global boolean $cfg['Export']['latex_relation']
1392 $cfg['Export']['latex_relation'] = true;
1397 * @global boolean $cfg['Export']['latex_comments']
1399 $cfg['Export']['latex_comments'] = true;
1404 * @global boolean $cfg['Export']['latex_mime']
1406 $cfg['Export']['latex_mime'] = true;
1411 * @global string $cfg['Export']['latex_null']
1413 $cfg['Export']['latex_null'] = '\textit{NULL}';
1418 * @global boolean $cfg['Export']['latex_caption']
1420 $cfg['Export']['latex_caption'] = true;
1425 * @global string $cfg['Export']['latex_structure_caption']
1427 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1432 * @global string $cfg['Export']['latex_structure_continued_caption']
1434 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1439 * @global string $cfg['Export']['latex_data_caption']
1441 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1446 * @global string $cfg['Export']['latex_data_continued_caption']
1448 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1453 * @global string $cfg['Export']['latex_data_label']
1455 $cfg['Export']['latex_data_label'] = 'tab:__TABLE__-data';
1460 * @global string $cfg['Export']['latex_structure_label']
1462 $cfg['Export']['latex_structure_label'] = 'tab:__TABLE__-structure';
1467 * @global boolean $cfg['Export']['sql_structure']
1469 $cfg['Export']['sql_structure'] = true;
1474 * @global boolean $cfg['Export']['sql_data']
1476 $cfg['Export']['sql_data'] = true;
1481 * @global string $cfg['Export']['sql_compatibility']
1483 $cfg['Export']['sql_compatibility'] = 'NONE';
1486 * Whether to include comments in SQL export.
1488 * @global string $cfg['Export']['sql_include_comments']
1490 $cfg['Export']['sql_include_comments'] = true;
1495 * @global boolean $cfg['Export']['sql_disable_fk']
1497 $cfg['Export']['sql_disable_fk'] = false;
1502 * @global boolean $cfg['Export']['sql_use_transaction']
1504 $cfg['Export']['sql_use_transaction'] = false;
1509 * @global boolean $cfg['Export']['sql_drop_database']
1511 $cfg['Export']['sql_drop_database'] = false;
1516 * @global boolean $cfg['Export']['sql_drop_table']
1518 $cfg['Export']['sql_drop_table'] = false;
1523 * true by default for correct behavior when dealing with exporting
1524 * of VIEWs and the stand-in table
1525 * @global boolean $cfg['Export']['sql_if_not_exists']
1527 $cfg['Export']['sql_if_not_exists'] = true;
1532 * @global boolean $cfg['Export']['sql_procedure_function']
1534 $cfg['Export']['sql_procedure_function'] = false;
1539 * @global boolean $cfg['Export']['sql_auto_increment']
1541 $cfg['Export']['sql_auto_increment'] = true;
1546 * @global boolean $cfg['Export']['sql_backquotes']
1548 $cfg['Export']['sql_backquotes'] = true;
1553 * @global boolean $cfg['Export']['sql_dates']
1555 $cfg['Export']['sql_dates'] = false;
1560 * @global boolean $cfg['Export']['sql_relation']
1562 $cfg['Export']['sql_relation'] = false;
1567 * @global boolean $cfg['Export']['sql_columns']
1569 $cfg['Export']['sql_columns'] = true;
1574 * @global boolean $cfg['Export']['sql_delayed']
1576 $cfg['Export']['sql_delayed'] = false;
1581 * @global boolean $cfg['Export']['sql_ignore']
1583 $cfg['Export']['sql_ignore'] = false;
1586 * Export time in UTC.
1588 * @global boolean $cfg['Export']['sql_utc_time']
1590 $cfg['Export']['sql_utc_time'] = true;
1595 * @global boolean $cfg['Export']['sql_hex_for_blob']
1597 $cfg['Export']['sql_hex_for_blob'] = true;
1600 * insert/update/replace
1602 * @global string $cfg['Export']['sql_type']
1604 $cfg['Export']['sql_type'] = 'insert';
1609 * @global boolean $cfg['Export']['sql_extended']
1611 $cfg['Export']['sql_extended'] = true;
1616 * @global integer $cfg['Export']['sql_max_query_size']
1618 $cfg['Export']['sql_max_query_size'] = 50000;
1623 * @global boolean $cfg['Export']['sql_comments']
1625 $cfg['Export']['sql_comments'] = false;
1630 * @global boolean $cfg['Export']['sql_mime']
1632 $cfg['Export']['sql_mime'] = false;
1635 * \n is replaced by new line
1637 * @global string $cfg['Export']['sql_header_comment']
1639 $cfg['Export']['sql_header_comment'] = '';
1644 * @global boolean $cfg['Export']['pdf_structure']
1646 $cfg['Export']['pdf_structure'] = false;
1651 * @global boolean $cfg['Export']['pdf_data']
1653 $cfg['Export']['pdf_data'] = true;
1658 * @global string $cfg['Export']['pdf_report_title']
1660 $cfg['Export']['pdf_report_title'] = '';
1663 * Export schema for each structure
1665 * @global string $cfg['Export']['xml_export_struc']
1667 $cfg['Export']['xml_export_struc'] = true;
1670 * Export functions
1672 * @global string $cfg['Export']['xml_export_functions']
1674 $cfg['Export']['xml_export_functions'] = true;
1677 * Export procedures
1679 * @global string $cfg['Export']['xml_export_procedures']
1681 $cfg['Export']['xml_export_procedures'] = true;
1684 * Export schema for each table
1686 * @global string $cfg['Export']['xml_export_tables']
1688 $cfg['Export']['xml_export_tables'] = true;
1691 * Export triggers
1693 * @global string $cfg['Export']['xml_export_triggers']
1695 $cfg['Export']['xml_export_triggers'] = true;
1698 * Export views
1700 * @global string $cfg['Export']['xml_export_views']
1702 $cfg['Export']['xml_export_views'] = true;
1705 * Export contents data
1707 * @global string $cfg['Export']['xml_export_contents']
1709 $cfg['Export']['xml_export_contents'] = true;
1712 /*******************************************************************************
1713 * Import defaults
1715 $cfg['Import'] = array();
1720 * @global string $cfg['Import']['format']
1722 $cfg['Import']['format'] = 'sql';
1725 * Default charset for import.
1727 * @global string $cfg['Import']['charset']
1729 $cfg['Import']['charset'] = '';
1734 * @global boolean $cfg['Import']['allow_interrupt']
1736 $cfg['Import']['allow_interrupt'] = true;
1741 * @global integer $cfg['Import']['skip_queries']
1743 $cfg['Import']['skip_queries'] = '0';
1748 * @global string $cfg['Import']['sql_compatibility']
1750 $cfg['Import']['sql_compatibility'] = 'NONE';
1755 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
1757 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
1762 * @global boolean $cfg['Import']['csv_replace']
1764 $cfg['Import']['csv_replace'] = false;
1769 * @global string $cfg['Import']['csv_terminated']
1771 $cfg['Import']['csv_terminated'] = ';';
1776 * @global string $cfg['Import']['csv_enclosed']
1778 $cfg['Import']['csv_enclosed'] = '"';
1783 * @global string $cfg['Import']['csv_escaped']
1785 $cfg['Import']['csv_escaped'] = '\\';
1790 * @global string $cfg['Import']['csv_new_line']
1792 $cfg['Import']['csv_new_line'] = 'auto';
1797 * @global string $cfg['Import']['csv_columns']
1799 $cfg['Import']['csv_columns'] = '';
1804 * @global string $cfg['Import']['csv_col_names']
1806 $cfg['Import']['csv_col_names'] = false;
1811 * @global boolean $cfg['Import']['ldi_replace']
1813 $cfg['Import']['ldi_replace'] = false;
1818 * @global string $cfg['Import']['ldi_terminated']
1820 $cfg['Import']['ldi_terminated'] = ';';
1825 * @global string $cfg['Import']['ldi_enclosed']
1827 $cfg['Import']['ldi_enclosed'] = '"';
1832 * @global string $cfg['Import']['ldi_escaped']
1834 $cfg['Import']['ldi_escaped'] = '\\';
1839 * @global string $cfg['Import']['ldi_new_line']
1841 $cfg['Import']['ldi_new_line'] = 'auto';
1846 * @global string $cfg['Import']['ldi_columns']
1848 $cfg['Import']['ldi_columns'] = '';
1851 * 'auto' for auto-detection, true or false for forcing
1853 * @global string $cfg['Import']['ldi_local_option']
1855 $cfg['Import']['ldi_local_option'] = 'auto';
1860 * @global string $cfg['Import']['ods_col_names']
1862 $cfg['Import']['ods_col_names'] = false;
1867 * @global string $cfg['Import']['ods_empty_rows']
1869 $cfg['Import']['ods_empty_rows'] = true;
1874 * @global string $cfg['Import']['ods_recognize_percentages']
1876 $cfg['Import']['ods_recognize_percentages'] = true;
1881 * @global string $cfg['Import']['ods_recognize_currency']
1883 $cfg['Import']['ods_recognize_currency'] = true;
1888 * @global string $cfg['Import']['xml_col_names']
1890 $cfg['Import']['xls_col_names'] = false;
1895 * @global string $cfg['Import']['xml_empty_rows']
1897 $cfg['Import']['xls_empty_rows'] = true;
1900 * Link to the official MySQL documentation.
1901 * Be sure to include no trailing slash on the path.
1902 * See http://dev.mysql.com/doc/ for more information
1903 * about MySQL manuals and their types.
1905 * @global string $cfg['MySQLManualBase']
1907 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
1910 * Type of MySQL documentation:
1911 * viewable - "viewable online", current one used on MySQL website
1912 * searchable - "Searchable, with user comments"
1913 * chapters - "HTML, one page per chapter"
1914 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
1915 * big - "HTML, all on one page"
1916 * old - old style used in phpMyAdmin 2.3.0 and sooner
1917 * none - do not show documentation links
1919 * @global string $cfg['MySQLManualType']
1921 $cfg['MySQLManualType'] = 'viewable';
1924 /*******************************************************************************
1925 * PDF options
1931 * @global array $cfg['PDFPageSizes']
1933 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
1938 * @global string $cfg['PDFDefaultPageSize']
1940 $cfg['PDFDefaultPageSize'] = 'A4';
1943 /*******************************************************************************
1944 * Language and character set conversion settings
1948 * Default language to use, if not browser-defined or user-defined
1950 * @global string $cfg['DefaultLang']
1952 $cfg['DefaultLang'] = 'en-utf-8';
1955 * Default connection collation
1957 * @global string $cfg['DefaultConnectionCollation']
1959 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
1962 * Force: always use this language - must be defined in
1963 * libraries/select_lang.lib.php
1964 * $cfg['Lang'] = 'en-utf-8';
1966 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
1967 * English only
1969 * @global string $cfg['FilterLanguages']
1971 $cfg['FilterLanguages'] = '';
1974 * Default character set to use for recoding of MySQL queries, does not take
1975 * any effect when character sets recoding is switched off by
1976 * $cfg['AllowAnywhereRecoding'] or in language file
1977 * (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
1979 * @global string $cfg['DefaultCharset']
1981 $cfg['DefaultCharset'] = 'utf-8';
1984 * Allow character set recoding of MySQL queries, must be also enabled in language
1985 * file to make harder using other language files than Unicode.
1986 * Default value is false to avoid problems on servers without the iconv
1987 * extension
1989 * @global boolean $cfg['AllowAnywhereRecoding']
1991 $cfg['AllowAnywhereRecoding'] = false;
1994 * You can select here which functions will be used for character set conversion.
1995 * Possible values are:
1996 * auto - automatically use available one (first is tested iconv, then
1997 * recode)
1998 * iconv - use iconv or libiconv functions
1999 * recode - use recode_string function
2001 * @global string $cfg['RecodingEngine']
2003 $cfg['RecodingEngine'] = 'auto';
2006 * Specify some parameters for iconv used in character set conversion. See iconv
2007 * documentation for details:
2008 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2010 * @global string $cfg['IconvExtraParams']
2012 $cfg['IconvExtraParams'] = '//TRANSLIT';
2015 * Available character sets for MySQL conversion. currently contains all which could
2016 * be found in lang/* files and few more.
2017 * Character sets will be shown in same order as here listed, so if you frequently
2018 * use some of these move them to the top.
2020 * @global array $cfg['AvailableCharsets']
2022 $cfg['AvailableCharsets'] = array(
2023 'iso-8859-1',
2024 'iso-8859-2',
2025 'iso-8859-3',
2026 'iso-8859-4',
2027 'iso-8859-5',
2028 'iso-8859-6',
2029 'iso-8859-7',
2030 'iso-8859-8',
2031 'iso-8859-9',
2032 'iso-8859-10',
2033 'iso-8859-11',
2034 'iso-8859-12',
2035 'iso-8859-13',
2036 'iso-8859-14',
2037 'iso-8859-15',
2038 'windows-1250',
2039 'windows-1251',
2040 'windows-1252',
2041 'windows-1256',
2042 'windows-1257',
2043 'koi8-r',
2044 'big5',
2045 'gb2312',
2046 'utf-16',
2047 'utf-8',
2048 'utf-7',
2049 'x-user-defined',
2050 'euc-jp',
2051 'ks_c_5601-1987',
2052 'tis-620',
2053 'SHIFT_JIS'
2057 /*******************************************************************************
2058 * Customization & design
2060 * The graphical settings are now located in themes/theme-name/layout.inc.php
2064 * enable the left panel pointer
2065 * (used when LeftFrameLight is false)
2066 * see also LeftPointerColor
2067 * in layout.inc.php
2069 * @global boolean $cfg['LeftPointerEnable']
2071 $cfg['LeftPointerEnable'] = true;
2074 * enable the browse pointer
2075 * see also BrowsePointerColor
2076 * in layout.inc.php
2078 * @global boolean $cfg['BrowsePointerEnable']
2080 $cfg['BrowsePointerEnable'] = true;
2083 * enable the browse marker
2084 * see also BrowseMarkerColor
2085 * in layout.inc.php
2087 * @global boolean $cfg['BrowseMarkerEnable']
2089 $cfg['BrowseMarkerEnable'] = true;
2092 * textarea size (columns) in edit mode
2093 * (this value will be emphasized (*2) for SQL
2094 * query textareas and (*1.25) for query window)
2096 * @global integer $cfg['TextareaCols']
2098 $cfg['TextareaCols'] = 40;
2101 * textarea size (rows) in edit mode
2103 * @global integer $cfg['TextareaRows']
2105 $cfg['TextareaRows'] = 15;
2108 * double size of textarea size for LONGTEXT fields
2110 * @global boolean $cfg['LongtextDoubleTextarea']
2112 $cfg['LongtextDoubleTextarea'] = true;
2115 * auto-select when clicking in the textarea of the query-box
2117 * @global boolean $cfg['TextareaAutoSelect']
2119 $cfg['TextareaAutoSelect'] = false;
2122 * textarea size (columns) for CHAR/VARCHAR
2124 * @global integer $cfg['CharTextareaCols']
2126 $cfg['CharTextareaCols'] = 40;
2129 * textarea size (rows) for CHAR/VARCHAR
2131 * @global integer $cfg['CharTextareaRows']
2133 $cfg['CharTextareaRows'] = 2;
2136 * Enable Ctrl+Arrows moving between fields when editing?
2138 * @global boolean $cfg['CtrlArrowsMoving']
2140 $cfg['CtrlArrowsMoving'] = true;
2143 * Max field data length in browse mode for all non-numeric fields
2145 * @global integer $cfg['LimitChars']
2147 $cfg['LimitChars'] = 50;
2150 * show edit/delete links on left side of browse
2151 * (or at the top with vertical browse)
2153 * @global boolean $cfg['ModifyDeleteAtLeft']
2155 $cfg['ModifyDeleteAtLeft'] = true;
2158 * show edit/delete links on right side of browse
2159 * (or at the bottom with vertical browse)
2161 * @global boolean $cfg['ModifyDeleteAtRight']
2163 $cfg['ModifyDeleteAtRight'] = false;
2166 * default display direction (horizontal|vertical|horizontalflipped)
2168 * @global string $cfg['DefaultDisplay']
2170 $cfg['DefaultDisplay'] = 'horizontal';
2173 * default display direction for altering/creating columns (tbl_properties)
2174 * (horizontal|vertical|<number>)
2175 * number indicates maximal number for which vertical model is used
2177 * @global integer $cfg['DefaultPropDisplay']
2179 $cfg['DefaultPropDisplay'] = 3;
2182 * table-header rotation via faking or CSS? (css|fake)
2183 * NOTE: CSS only works in IE browsers!
2185 * @global string $cfg['HeaderFlipType']
2187 $cfg['HeaderFlipType'] = 'css';
2190 * shows stored relation-comments in 'browse' mode.
2192 * @global boolean $cfg['ShowBrowseComments']
2194 $cfg['ShowBrowseComments'] = true;
2197 * shows stored relation-comments in 'table property' mode.
2199 * @global boolean $cfg['ShowPropertyComments']
2201 $cfg['ShowPropertyComments']= true;
2204 * repeat header names every X cells? (0 = deactivate)
2206 * @global integer $cfg['RepeatCells']
2208 $cfg['RepeatCells'] = 100;
2211 * Set to true if Edit link should open the query to edit in the query window
2212 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
2214 * @global boolean $cfg['EditInWindow']
2216 $cfg['EditInWindow'] = true;
2219 * Width of Query window
2221 * @global integer $cfg['QueryWindowWidth']
2223 $cfg['QueryWindowWidth'] = 550;
2226 * Height of Query window
2228 * @global integer $cfg['QueryWindowHeight']
2230 $cfg['QueryWindowHeight'] = 310;
2233 * Set to true if you want DB-based query history.If false, this utilizes
2234 * JS-routines to display query history (lost by window close)
2236 * @global boolean $cfg['QueryHistoryDB']
2238 $cfg['QueryHistoryDB'] = false;
2241 * which tab to display in the querywindow on startup
2242 * (sql|files|history|full)
2244 * @global string $cfg['QueryWindowDefTab']
2246 $cfg['QueryWindowDefTab'] = 'sql';
2249 * When using DB-based query history, how many entries should be kept?
2251 * @global integer $cfg['QueryHistoryMax']
2253 $cfg['QueryHistoryMax'] = 25;
2256 * Use MIME-Types (stored in column comments table) for
2258 * @global boolean $cfg['BrowseMIME']
2260 $cfg['BrowseMIME'] = true;
2263 * When approximate count < this, PMA will get exact count for table rows.
2265 * @global integer $cfg['MaxExactCount']
2267 $cfg['MaxExactCount'] = 20000;
2270 * Zero means that no row count is done for views; see the doc
2272 * @global integer $cfg['MaxExactCountViews']
2274 $cfg['MaxExactCountViews'] = 0;
2277 * Utilize DHTML/JS capabilities to allow WYSIWYG editing of
2278 * the PDF page editor. Requires an IE6/Gecko based browser.
2280 * @global boolean $cfg['WYSIWYG-PDF']
2282 $cfg['WYSIWYG-PDF'] = true;
2285 * Sort table and database in natural order
2287 * @global boolean $cfg['NaturalOrder']
2289 $cfg['NaturalOrder'] = true;
2292 * Initial state for sliders
2293 * (open | closed)
2295 * @global string $cfg['InitialSlidersState']
2297 $cfg['InitialSlidersState'] = 'closed';
2301 //-----------------------------------------------------------------------------
2302 // custom-setup by mkkeck: 2004-05-04
2303 // some specials for new icons and scrolling
2305 * @todo We need to rearrange these variables.
2309 /*******************************************************************************
2310 * Window title settings
2314 * title of browser window when a table is selected
2316 * @global string $cfg['TitleTable']
2318 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2321 * title of browser window when a database is selected
2323 * @global string $cfg['TitleDatabase']
2325 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2328 * title of browser window when a server is selected
2330 * @global string $cfg['TitleServer']
2332 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2335 * title of browser window when nothing is selected
2336 * @global string $cfg['TitleDefault']
2338 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2341 * show some icons for warning, error and information messages (true|false)?
2343 * @global boolean $cfg['ErrorIconic']
2345 $cfg['ErrorIconic'] = true;
2348 * show icons in list on main page and on menu tabs (true|false)?
2350 * @global boolean $cfg['MainPageIconic']
2352 $cfg['MainPageIconic'] = true;
2355 * show help button instead of strDocu (true|false)?
2357 * @global boolean $cfg['ReplaceHelpImg']
2359 $cfg['ReplaceHelpImg'] = true;
2362 /*******************************************************************************
2363 * theme manager
2367 * using themes manager please set up here the path to 'themes' else leave empty
2369 * @global string $cfg['ThemePath']
2371 $cfg['ThemePath'] = './themes';
2374 * if you want to use selectable themes and if ThemesPath not empty
2375 * set it to true, else set it to false (default is false);
2377 * @global boolean $cfg['ThemeManager']
2379 $cfg['ThemeManager'] = true;
2382 * set up default theme, if ThemePath not empty you can set up here an valid
2383 * path to themes or 'original' for the original pma-theme
2385 * @global string $cfg['ThemeDefault']
2387 $cfg['ThemeDefault'] = 'original';
2390 * allow different theme for each configured server
2392 * @global boolean $cfg['ThemePerServer']
2394 $cfg['ThemePerServer'] = false;
2397 /*******************************************************************************
2402 * Default queries
2403 * %d will be replaced by the database name.
2404 * %t will be replaced by the table name.
2405 * %f will be replaced by a list of field names.
2406 * (%t and %f only applies to DefaultQueryTable)
2408 * @global string $cfg['DefaultQueryTable']
2410 $cfg['DefaultQueryTable'] = 'SELECT * FROM %t WHERE 1';
2413 * Default queries
2414 * %d will be replaced by the database name.
2415 * %t will be replaced by the table name.
2416 * %f will be replaced by a list of field names.
2417 * (%t and %f only applies to DefaultQueryTable)
2419 * @global string $cfg['DefaultQueryDatabase']
2421 $cfg['DefaultQueryDatabase'] = '';
2424 /*******************************************************************************
2425 * SQL Query box settings
2426 * These are the links display in all of the SQL Query boxes
2428 * @global array $cfg['SQLQuery']
2430 $cfg['SQLQuery'] = array();
2433 * Edit link to change a query
2435 * @global boolean $cfg['SQLQuery']['Edit']
2437 $cfg['SQLQuery']['Edit'] = true;
2440 * EXPLAIN on SELECT queries
2442 * @global boolean $cfg['SQLQuery']['Explain']
2444 $cfg['SQLQuery']['Explain'] = true;
2447 * Wrap a query in PHP
2449 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2451 $cfg['SQLQuery']['ShowAsPHP'] = true;
2454 * Validate a query (see $cfg['SQLValidator'] as well)
2456 * @global boolean $cfg['SQLQuery']['Validate']
2458 $cfg['SQLQuery']['Validate'] = false;
2461 * Refresh the results page
2463 * @global boolean $cfg['SQLQuery']['Refresh']
2465 $cfg['SQLQuery']['Refresh'] = true;
2468 /*******************************************************************************
2469 * Web server upload/save/import directories
2473 * Directory for uploaded files that can be executed by phpMyAdmin.
2474 * For example './upload'. Leave empty for no upload directory support.
2475 * Use %u for username inclusion.
2477 * @global string $cfg['UploadDir']
2479 $cfg['UploadDir'] = '';
2482 * Directory where phpMyAdmin can save exported data on server.
2483 * For example './save'. Leave empty for no save directory support.
2484 * Use %u for username inclusion.
2486 * @global string $cfg['SaveDir']
2488 $cfg['SaveDir'] = '';
2491 * Directory where phpMyAdmin can save temporary files.
2492 * This is needed for MS Excel export, see documentation how to enable that.
2494 * @global string $cfg['TempDir']
2496 $cfg['TempDir'] = '';
2500 * Misc. settings
2504 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2505 * which is the only safe way to determine GD version.
2507 * @global string $cfg['GD2Available']
2509 $cfg['GD2Available'] = 'auto';
2512 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2514 * @global array $cfg['TrustedProxies']
2516 $cfg['TrustedProxies'] = array();
2519 * We normally check the permissions on the configuration file to ensure
2520 * it's not world writable. However, phpMyAdmin could be installed on
2521 * a NTFS filesystem mounted on a non-Windows server, in which case the
2522 * permissions seems wrong but in fact cannot be detected. In this case
2523 * a sysadmin would set the following to false.
2525 $cfg['CheckConfigurationPermissions'] = true;
2528 * Limit for length of URL in links. When length would be above this limit, it
2529 * is replaced by form with button.
2530 * This is required as some web servers (IIS) have problems with long URLs.
2532 $cfg['LinkLengthLimit'] = 1000;
2534 /*******************************************************************************
2535 * SQL Parser Settings
2537 * @global array $cfg['SQP']
2539 $cfg['SQP'] = array();
2542 * Pretty-printing style to use on queries (html, text, none)
2544 * @global string $cfg['SQP']['fmtType']
2546 $cfg['SQP']['fmtType'] = 'html';
2549 * Amount to indent each level (floats are valid)
2551 * @global integer $cfg['SQP']['fmtInd']
2553 $cfg['SQP']['fmtInd'] = '1';
2556 * Units for indenting each level (CSS Types - {em, px, pt})
2558 * @global string $cfg['SQP']['fmtIndUnit']
2560 $cfg['SQP']['fmtIndUnit'] = 'em';
2563 /*******************************************************************************
2564 * If you wish to use the SQL Validator service, you should be aware of the
2565 * following:
2566 * All SQL statements are stored anonymously for statistical purposes.
2567 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2568 * All rights reserved.
2570 * @global array $cfg['SQLValidator']
2572 $cfg['SQLValidator'] = array();
2575 * Make the SQL Validator available
2577 * @global boolean $cfg['SQLValidator']['use']
2579 $cfg['SQLValidator']['use'] = false;
2582 * If you have a custom username, specify it here (defaults to anonymous)
2584 * @global string $cfg['SQLValidator']['username']
2586 $cfg['SQLValidator']['username'] = '';
2589 * Password for username
2591 * @global string $cfg['SQLValidator']['password']
2593 $cfg['SQLValidator']['password'] = '';
2596 /*******************************************************************************
2597 * Developers ONLY!
2599 * @global array $cfg['DBG']
2601 $cfg['DBG'] = array();
2604 * Output executed queries and their execution times
2606 * @global boolean $cfg['DBG']['sql']
2608 $cfg['DBG']['sql'] = false;
2611 * Make the DBG stuff available
2612 * To use the following, please install the DBG extension from http://dd.cron.ru/dbg/
2614 * @global boolean $cfg['DBG']['php']
2616 $cfg['DBG']['php'] = false;
2619 * Produce profiling results of PHP
2621 * @global boolean $cfg['DBG']['profile']['enable']
2623 $cfg['DBG']['profile']['enable'] = false;
2626 * Threshold of long running code to display
2627 * Anything below the threshold is not displayed
2629 * @global float $cfg['DBG']['profile']['threshold']
2631 $cfg['DBG']['profile']['threshold'] = 0.5;
2634 /*******************************************************************************
2635 * MySQL settings
2639 * Column types;
2640 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2642 * @global array $cfg['ColumnTypes']
2644 $cfg['ColumnTypes'] = array(
2645 // most used
2646 'INT',
2647 'VARCHAR',
2648 'TEXT',
2649 'DATE',
2651 // numeric
2652 'NUMERIC' => array(
2653 'TINYINT',
2654 'SMALLINT',
2655 'MEDIUMINT',
2656 'INT',
2657 'BIGINT',
2658 '-',
2659 'DECIMAL',
2660 'FLOAT',
2661 'DOUBLE',
2662 'REAL',
2663 '-',
2664 'BIT',
2665 'BOOLEAN',
2666 'SERIAL',
2670 // Date/Time
2671 'DATE and TIME' => array(
2672 'DATE',
2673 'DATETIME',
2674 'TIMESTAMP',
2675 'TIME',
2676 'YEAR',
2679 // Text
2680 'STRING' => array(
2681 'CHAR',
2682 'VARCHAR',
2683 '-',
2684 'TINYTEXT',
2685 'TEXT',
2686 'MEDIUMTEXT',
2687 'LONGTEXT',
2688 '-',
2689 'BINARY',
2690 'VARBINARY',
2691 '-',
2692 'TINYBLOB',
2693 'MEDIUMBLOB',
2694 'BLOB',
2695 'LONGBLOB',
2696 '-',
2697 'ENUM',
2698 'SET',
2701 'SPATIAL' => array(
2702 'GEOMETRY',
2703 'POINT',
2704 'LINESTRING',
2705 'POLYGON',
2706 'MULTIPOINT',
2707 'MULTILINESTRING',
2708 'MULTIPOLYGON',
2709 'GEOMETRYCOLLECTION',
2714 * Attributes
2716 * @global array $cfg['AttributeTypes']
2718 $cfg['AttributeTypes'] = array(
2720 'BINARY',
2721 'UNSIGNED',
2722 'UNSIGNED ZEROFILL',
2723 'on update CURRENT_TIMESTAMP',
2727 if ($cfg['ShowFunctionFields']) {
2729 * Available functions
2731 * @global array $cfg['Functions']
2733 $cfg['Functions'] = array(
2734 'ABS',
2735 'ACOS',
2736 'ASCII',
2737 'ASIN',
2738 'ATAN',
2739 'BIN',
2740 'BIT_COUNT',
2741 'BIT_LENGTH',
2742 'CEILING',
2743 'CHAR',
2744 'CHAR_LENGTH',
2745 'COMPRESS',
2746 'COS',
2747 'COT',
2748 'CRC32',
2749 'CURDATE',
2750 'CURRENT_USER',
2751 'CURTIME',
2752 'DATE',
2753 'DAYNAME',
2754 'DEGREES',
2755 'DES_DECRYPT',
2756 'DES_ENCRYPT',
2757 'ENCRYPT',
2758 'EXP',
2759 'FLOOR',
2760 'FROM_DAYS',
2761 'FROM_UNIXTIME',
2762 'HEX',
2763 'INET_ATON',
2764 'INET_NTOA',
2765 'LENGTH',
2766 'LN',
2767 'LOG',
2768 'LOG10',
2769 'LOG2',
2770 'LOWER',
2771 'MD5',
2772 'NOW',
2773 'OCT',
2774 'OLD_PASSWORD',
2775 'ORD',
2776 'PASSWORD',
2777 'RADIANS',
2778 'RAND',
2779 'REVERSE',
2780 'ROUND',
2781 'SEC_TO_TIME',
2782 'SHA1',
2783 'SOUNDEX',
2784 'SPACE',
2785 'SQRT',
2786 'STDDEV_POP',
2787 'STDDEV_SAMP',
2788 'TAN',
2789 'TIMESTAMP',
2790 'TIME_TO_SEC',
2791 'UNCOMPRESS',
2792 'UNHEX',
2793 'UNIX_TIMESTAMP',
2794 'UPPER',
2795 'USER',
2796 'UTC_DATE',
2797 'UTC_TIME',
2798 'UTC_TIMESTAMP',
2799 'UUID',
2800 'VAR_POP',
2801 'VAR_SAMP',
2802 'YEAR',
2806 * Which column types will be mapped to which Group?
2808 * @global array $cfg['RestrictColumnTypes']
2810 $cfg['RestrictColumnTypes'] = array(
2811 'TINYINT' => 'FUNC_NUMBER',
2812 'SMALLINT' => 'FUNC_NUMBER',
2813 'MEDIUMINT' => 'FUNC_NUMBER',
2814 'INT' => 'FUNC_NUMBER',
2815 'BIGINT' => 'FUNC_NUMBER',
2816 'DECIMAL' => 'FUNC_NUMBER',
2817 'FLOAT' => 'FUNC_NUMBER',
2818 'DOUBLE' => 'FUNC_NUMBER',
2819 'REAL' => 'FUNC_NUMBER',
2820 'BIT' => 'FUNC_NUMBER',
2821 'BOOLEAN' => 'FUNC_NUMBER',
2822 'SERIAL' => 'FUNC_NUMBER',
2824 'DATE' => 'FUNC_DATE',
2825 'DATETIME' => 'FUNC_DATE',
2826 'TIMESTAMP' => 'FUNC_DATE',
2827 'TIME' => 'FUNC_DATE',
2828 'YEAR' => 'FUNC_DATE',
2830 'CHAR' => 'FUNC_CHAR',
2831 'VARCHAR' => 'FUNC_CHAR',
2832 'TINYTEXT' => 'FUNC_CHAR',
2833 'TEXT' => 'FUNC_CHAR',
2834 'MEDIUMTEXT' => 'FUNC_CHAR',
2835 'LONGTEXT' => 'FUNC_CHAR',
2836 'BINARY' => 'FUNC_CHAR',
2837 'VARBINARY' => 'FUNC_CHAR',
2838 'TINYBLOB' => 'FUNC_CHAR',
2839 'MEDIUMBLOB' => 'FUNC_CHAR',
2840 'BLOB' => 'FUNC_CHAR',
2841 'LONGBLOB' => 'FUNC_CHAR',
2842 'ENUM' => '',
2843 'SET' => '',
2845 'GEOMETRY' => 'FUNC_SPATIAL',
2846 'POINT' => 'FUNC_SPATIAL',
2847 'LINESTRING' => 'FUNC_SPATIAL',
2848 'POLYGON' => 'FUNC_SPATIAL',
2849 'MULTIPOINT' => 'FUNC_SPATIAL',
2850 'MULTILINESTRING' => 'FUNC_SPATIAL',
2851 'MULTIPOLYGON' => 'FUNC_SPATIAL',
2852 'GEOMETRYCOLLECTION' => 'FUNC_SPATIAL',
2857 * Map above defined groups to any function
2859 * @global array $cfg['RestrictFunctions']
2861 $cfg['RestrictFunctions'] = array(
2862 'FUNC_CHAR' => array(
2863 'BIN',
2864 'CHAR',
2865 'CURRENT_USER',
2866 'COMPRESS',
2867 'DAYNAME',
2868 'DES_DECRYPT',
2869 'DES_ENCRYPT',
2870 'ENCRYPT',
2871 'HEX',
2872 'INET_NTOA',
2873 'LOWER',
2874 'MD5',
2875 'OLD_PASSWORD',
2876 'PASSWORD',
2877 'REVERSE',
2878 'SHA1',
2879 'SOUNDEX',
2880 'SPACE',
2881 'UNCOMPRESS',
2882 'UNHEX',
2883 'UPPER',
2884 'USER',
2885 'UUID',
2888 'FUNC_DATE' => array(
2889 'CURDATE',
2890 'CURTIME',
2891 'DATE',
2892 'FROM_DAYS',
2893 'FROM_UNIXTIME',
2894 'NOW',
2895 'SEC_TO_TIME',
2896 'TIMESTAMP',
2897 'UTC_DATE',
2898 'UTC_TIME',
2899 'UTC_TIMESTAMP',
2900 'YEAR',
2903 'FUNC_NUMBER' => array(
2904 'ABS',
2905 'ACOS',
2906 'ASCII',
2907 'ASIN',
2908 'ATAN',
2909 'BIT_LENGTH',
2910 'BIT_COUNT',
2911 'CEILING',
2912 'CHAR_LENGTH',
2913 'COS',
2914 'COT',
2915 'CRC32',
2916 'DEGREES',
2917 'EXP',
2918 'FLOOR',
2919 'INET_ATON',
2920 'LENGTH',
2921 'LN',
2922 'LOG',
2923 'LOG2',
2924 'LOG10',
2925 'OCT',
2926 'ORD',
2927 'RADIANS',
2928 'RAND',
2929 'ROUND',
2930 'SQRT',
2931 'STDDEV_POP',
2932 'STDDEV_SAMP',
2933 'TAN',
2934 'TIME_TO_SEC',
2935 'UNIX_TIMESTAMP',
2936 'VAR_POP',
2937 'VAR_SAMP',
2940 'FUNC_SPATIAL' => array(
2941 'GeomFromText',
2942 'GeomFromWKB',
2944 'GeomCollFromText',
2945 'LineFromText',
2946 'MLineFromText',
2947 'PointFromText',
2948 'MPointFromText',
2949 'PolyFromText',
2950 'MPolyFromText',
2952 'GeomCollFromWKB',
2953 'LineFromWKB',
2954 'MLineFromWKB',
2955 'PointFromWKB',
2956 'MPointFromWKB',
2957 'PolyFromWKB',
2958 'MPolyFromWKB',
2963 * Default functions for above defined groups
2965 * @global array $cfg['DefaultFunctions']
2967 $cfg['DefaultFunctions'] = array(
2968 'FUNC_CHAR' => '',
2969 'FUNC_DATE' => '',
2970 'FUNC_NUMBER' => '',
2971 'first_timestamp' => 'NOW',
2972 'pk_char36' => 'UUID',
2976 } // end if
2979 * Search operators
2981 * @global array $cfg['NumOperators']
2983 $cfg['NumOperators'] = array(
2984 '=',
2985 '>',
2986 '>=',
2987 '<',
2988 '<=',
2989 '!=',
2990 'LIKE',
2991 'NOT LIKE',
2995 * Search operators
2997 * @global array $cfg['TextOperators']
2999 $cfg['TextOperators'] = array(
3000 'LIKE',
3001 'LIKE %...%',
3002 'NOT LIKE',
3003 '=',
3004 '!=',
3005 'REGEXP',
3006 'REGEXP ^...$',
3007 'NOT REGEXP',
3008 "= ''",
3009 "!= ''"
3013 * Search operators
3015 * @global array $cfg['EnumOperators']
3017 $cfg['EnumOperators'] = array(
3018 '=',
3019 '!=',
3023 * Search operators
3025 * @global array $cfg['SetOperators']
3027 $cfg['SetOperators'] = array(
3028 'IN',
3029 'NOT IN',
3033 * Search operators
3035 * @global array $cfg['NullOperators']
3037 $cfg['NullOperators'] = array(
3038 'IS NULL',
3039 'IS NOT NULL',
3043 * Search operators
3045 * @global array $cfg['UnaryOperators']
3047 $cfg['UnaryOperators'] = array(
3048 'IS NULL' => 1,
3049 'IS NOT NULL' => 1,
3050 "= ''" => 1,
3051 "!= ''" => 1