Revert "Do not assume that DefaultLang is escaped."
[phpmyadmin/madhuracj.git] / libraries / config.default.php
blob1f2e35ba85f5fd340348ccfffdc00ffa34318412
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 * File containing Swekey ids and login names (see /contrib);
181 * leave empty to deactivate Swekey hardware authentication
183 * @global string $cfg['Servers'][$i]['auth_swekey_config']
185 $cfg['Servers'][$i]['auth_swekey_config'] = '';
188 * MySQL user
190 * @global string $cfg['Servers'][$i]['user']
192 $cfg['Servers'][$i]['user'] = 'root';
195 * MySQL password (only needed with 'config' auth_type)
197 * @global string $cfg['Servers'][$i]['password']
199 $cfg['Servers'][$i]['password'] = '';
202 * Session to use for 'signon' authentication method
204 * @global string $cfg['Servers'][$i]['SignonSession']
206 $cfg['Servers'][$i]['SignonSession'] = '';
209 * URL where to redirect user to login for 'signon' authentication method
211 * @global string $cfg['Servers'][$i]['SignonURL']
213 $cfg['Servers'][$i]['SignonURL'] = '';
216 * URL where to redirect user after logout
218 * @global string $cfg['Servers'][$i]['LogoutURL']
220 $cfg['Servers'][$i]['LogoutURL'] = '';
223 * Whether to try to connect without password
225 * @global boolean $cfg['Servers'][$i]['nopassword']
227 $cfg['Servers'][$i]['nopassword'] = false;
230 * If set to a db-name, only this db is displayed in left frame
231 * It may also be an array of db-names, where sorting order is relevant.
233 * @global string $cfg['Servers'][$i]['only_db']
235 $cfg['Servers'][$i]['only_db'] = '';
238 * Database name to be hidden from listings
240 * @global string $cfg['Servers'][$i]['hide_db']
242 $cfg['Servers'][$i]['hide_db'] = '';
245 * Verbose name for this host - leave blank to show the hostname
246 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
248 * @global string $cfg['Servers'][$i]['verbose']
250 $cfg['Servers'][$i]['verbose'] = '';
253 * Database used for Relation, Bookmark and PDF Features
254 * (see scripts/create_tables.sql)
255 * - leave blank for no support
256 * SUGGESTED: 'phpmyadmin'
258 * @global string $cfg['Servers'][$i]['pmadb']
260 $cfg['Servers'][$i]['pmadb'] = '';
263 * Bookmark table
264 * - leave blank for no bookmark support
265 * SUGGESTED: 'pma_bookmark'
267 * @global string $cfg['Servers'][$i]['bookmarktable']
269 $cfg['Servers'][$i]['bookmarktable'] = '';
272 * table to describe the relation between links (see doc)
273 * - leave blank for no relation-links support
274 * SUGGESTED: 'pma_relation'
276 * @global string $cfg['Servers'][$i]['relation']
278 $cfg['Servers'][$i]['relation'] = '';
281 * table to describe the display fields
282 * - leave blank for no display fields support
283 * SUGGESTED: 'pma_table_info'
285 * @global string $cfg['Servers'][$i]['table_info']
287 $cfg['Servers'][$i]['table_info'] = '';
290 * table to describe the tables position for the PDF schema
291 * - leave blank for no PDF schema support
292 * SUGGESTED: 'pma_table_coords'
294 * @global string $cfg['Servers'][$i]['table_coords']
296 $cfg['Servers'][$i]['table_coords'] = '';
299 * table to describe pages of relationpdf
300 * - leave blank if you don't want to use this
301 * SUGGESTED: 'pma_pdf_pages'
303 * @global string $cfg['Servers'][$i]['pdf_pages']
305 $cfg['Servers'][$i]['pdf_pages'] = '';
308 * table to store column information
309 * - leave blank for no column comments/mime types
310 * SUGGESTED: 'pma_column_info'
312 * @global string $cfg['Servers'][$i]['column_info']
314 $cfg['Servers'][$i]['column_info'] = '';
317 * table to store SQL history
318 * - leave blank for no SQL query history
319 * SUGGESTED: 'pma_history'
321 * @global string $cfg['Servers'][$i]['history']
323 $cfg['Servers'][$i]['history'] = '';
326 * table to store the coordinates for Designer
327 * - leave blank for no Designer feature
328 * SUGGESTED: 'pma_designer_coords'
330 * @global string $cfg['Servers'][$i]['designer_coords']
332 $cfg['Servers'][$i]['designer_coords'] = '';
335 * table to store SQL tracking
336 * - leave blank for no SQL tracking
337 * SUGGESTED: 'pma_tracking'
339 * @global string $cfg['Servers'][$i]['tracking']
341 $cfg['Servers'][$i]['tracking'] = '';
344 * set to false if you know that your pma_* tables are up to date.
345 * This prevents compatibility checks and thereby increases performance.
347 * @global boolean $cfg['Servers'][$i]['verbose_check']
349 $cfg['Servers'][$i]['verbose_check'] = true;
352 * whether to allow root login
354 * @global boolean $cfg['Servers'][$i]['AllowRoot']
356 $cfg['Servers'][$i]['AllowRoot'] = true;
359 * whether to allow login of any user without a password
361 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
363 $cfg['Servers'][$i]['AllowNoPassword'] = false;
366 * Host authentication order, leave blank to not use
368 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
370 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
373 * Host authentication rules, leave blank for defaults
375 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
377 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
380 * Disable use of INFORMATION_SCHEMA
382 * @see http://sf.net/support/tracker.php?aid=1849494
383 * @see http://bugs.mysql.com/19588
384 * @global boolean $cfg['Servers'][$i]['DisableIS']
386 $cfg['Servers'][$i]['DisableIS'] = true;
389 * SQL command to fetch available databases
391 * by default most user will be fine with SHOW DATABASES,
392 * for servers with a huge amount of databases it is possible to
393 * define a command which executes faster but with less information
395 * especially when accessing database servers from ISPs changing this command
396 * can result in a great speed improvement
398 * false will disable fetching databases from the server, only databases in
399 * $cfg['Servers'][$i]['only_db'] will be displayed
401 * #user# will be replaced by current user
403 * examples:
404 * 'SHOW DATABASES'
405 * "SHOW DATABASES LIKE '#user#\_%'"
406 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
407 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
408 * false
410 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
412 $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
415 * Whether to count tables when showing database list
417 * @global array $cfg['Servers'][$i]['CountTables']
419 $cfg['Servers'][$i]['CountTables'] = true;
422 * Whether the tracking mechanism creates versions for tables and views automatically.
424 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
427 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
430 * Defines the list of statements the auto-creation uses for new versions.
432 * @global string $cfg['Servers'][$i]['tracking_default_statements']
435 $cfg['Servers'][$i]['tracking_default_statements'] = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,' .
436 'CREATE INDEX,DROP INDEX,' .
437 'INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,' .
438 'CREATE VIEW,ALTER VIEW,DROP VIEW,' .
439 'CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
442 * Whether a DROP VIEW IF EXISTS statement will be added as first line to the log when creating a view.
444 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
447 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
450 * Whether a DROP TABLE IF EXISTS statement will be added as first line to the log when creating a table.
452 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
455 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
458 * Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.
460 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
463 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
466 * Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.
468 * @global bool $cfg['Servers'][$i]['tracking_version_drop_database']
471 $cfg['Servers'][$i]['tracking_version_drop_database'] = true;
474 * Default server (0 = no default server)
476 * If you have more than one server configured, you can set $cfg['ServerDefault']
477 * to any one of them to auto-connect to that server when phpMyAdmin is started,
478 * or set it to 0 to be given a list of servers without logging in
479 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
480 * set to that server.
482 * @global integer $cfg['ServerDefault']
484 $cfg['ServerDefault'] = 1;
487 * Other core phpMyAdmin settings
490 * maximum number of db's displayed in left frame and database list
492 * @global integer $cfg['MaxDbList']
494 $cfg['MaxDbList'] = 100;
497 * maximum number of tables displayed in table list
499 * @global integer $cfg['MaxTableList']
501 $cfg['MaxTableList'] = 250;
504 * maximum number of characters when a SQL query is displayed
506 * @global integer $cfg['MaxCharactersInDisplayedSQL']
508 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
511 * use GZIP output buffering if possible (true|false|'auto')
513 * @global string $cfg['OBGzip']
515 $cfg['OBGzip'] = 'auto';
518 * use persistent connections to MySQL database
520 * @global boolean $cfg['PersistentConnections']
522 $cfg['PersistentConnections'] = false;
525 * whether to force using HTTPS
527 * @global boolean $cfg['ForceSSL']
529 $cfg['ForceSSL'] = false;
532 * maximum execution time in seconds (0 for no limit)
534 * @global integer $cfg['ExecTimeLimit']
536 $cfg['ExecTimeLimit'] = 300;
539 * maximum allocated bytes ('0' for no limit)
540 * this is a string because '16M' is a valid value; we must put here
541 * a string as the default value so that /setup accepts strings
543 * @global string $cfg['MemoryLimit']
545 $cfg['MemoryLimit'] = '0';
548 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
550 * @global boolean $cfg['SkipLockedTables']
552 $cfg['SkipLockedTables'] = false;
555 * show SQL queries as run
557 * @global boolean $cfg['ShowSQL']
559 $cfg['ShowSQL'] = true;
562 * show a 'Drop database' link to normal users
564 * @global boolean $cfg['AllowUserDropDatabase']
566 $cfg['AllowUserDropDatabase'] = false;
569 * confirm 'DROP TABLE' & 'DROP DATABASE'
571 * @global boolean $cfg['Confirm']
573 $cfg['Confirm'] = true;
576 * recall previous login in cookie authentication mode or not
578 * @global boolean $cfg['LoginCookieRecall']
580 $cfg['LoginCookieRecall'] = true;
583 * validity of cookie login (in seconds; 1440 matches php.ini's
584 * session.gc_maxlifetime)
586 * @global integer $cfg['LoginCookieValidity']
588 $cfg['LoginCookieValidity'] = 1440;
591 * how long login cookie should be stored (in seconds)
593 * @global integer $cfg['LoginCookieStore']
595 $cfg['LoginCookieStore'] = 0;
598 * whether to delete all login cookies on logout
600 * @global boolean $cfg['LoginCookieDeleteAll']
602 $cfg['LoginCookieDeleteAll'] = true;
605 * whether to enable the "database search" feature or not
607 * @global boolean $cfg['UseDbSearch']
609 $cfg['UseDbSearch'] = true;
612 * if set to true, PMA continues computing multiple-statement queries
613 * even if one of the queries failed
615 * @global boolean $cfg['IgnoreMultiSubmitErrors']
617 $cfg['IgnoreMultiSubmitErrors'] = false;
620 * if set to true, PMA will show the affected rows of EACH statement on
621 * multiple-statement queries. See the libraries/import.php file for
622 * hard coded defaults on how many queries a statement may contain!
624 * @global boolean $cfg['VerboseMultiSubmit']
626 $cfg['VerboseMultiSubmit'] = true;
629 * allow login to any user entered server in cookie based authentication
631 * @global boolean $cfg['AllowArbitraryServer']
633 $cfg['AllowArbitraryServer'] = false;
636 /*******************************************************************************
637 * Error handler configuration
639 * this configures phpMyAdmin's own error handler, it is used to avoid information
640 * disclosure, gather errors for logging, reporting and displaying
642 * @global array $cfg['Error_Handler']
644 $cfg['Error_Handler'] = array();
647 * whether to display errors or not
649 * this does not affect errors of type E_USER_*
651 * @global boolean $cfg['Error_Handler']['display']
653 $cfg['Error_Handler']['display'] = false;
656 * (NOT IMPLEMENTED YET)
657 * where to log errors, false or empty to disable
659 * <code>
660 * // EXAMPLE log to std PHP error log
661 * $cfg['Error_Handler']['log'] = array(0);
662 * // EXAMPLE mail errors
663 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
664 * // EXAMPLE append to specific file
665 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
666 * </code>
668 * @see http://php.net/error_log
669 * @global string $cfg['Error_Handler']['log']
671 //$cfg['Error_Handler']['log'] = false;
674 * gather all errors in session to be displayed on a error reporting page
675 * for viewing and/or sending to phpMyAdmin developer team
677 * @global boolean $cfg['Error_Handler']['gather']
679 $cfg['Error_Handler']['gather'] = false;
682 /*******************************************************************************
683 * Left frame setup
687 * use a select-based menu and display only the current tables in the left frame.
689 * @global boolean $cfg['LeftFrameLight']
691 $cfg['LeftFrameLight'] = true;
694 * turn the select-based light menu into a tree
696 * @global boolean $cfg['LeftFrameDBTree']
698 $cfg['LeftFrameDBTree'] = true;
701 * the separator to sub-tree the select-based light menu tree
703 * @global string $cfg['LeftFrameDBSeparator']
705 $cfg['LeftFrameDBSeparator'] = '_';
708 * Which string will be used to generate table prefixes
709 * to split/nest tables into multiple categories
711 * @global string $cfg['LeftFrameTableSeparator']
713 $cfg['LeftFrameTableSeparator']= '__';
716 * How many sublevels should be displayed when splitting up tables by the above Separator
718 * @global integer $cfg['LeftFrameTableLevel']
720 $cfg['LeftFrameTableLevel'] = 1;
723 * display table comment as tooltip in left frame
725 * @global boolean $cfg['ShowTooltip']
727 $cfg['ShowTooltip'] = true;
730 * if ShowToolTip is enabled, this defines that table/db comments
732 * @global boolean $cfg['ShowTooltipAliasDB']
734 $cfg['ShowTooltipAliasDB'] = false;
737 * are shown (in the left menu and db_structure) instead of table/db names.
738 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
739 * descriptors, not the table itself.
741 * @global boolean $cfg['ShowTooltipAliasTB']
743 $cfg['ShowTooltipAliasTB'] = false;
746 * display logo at top of left frame
748 * @global boolean $cfg['LeftDisplayLogo']
750 $cfg['LeftDisplayLogo'] = true;
753 * where should logo link point to (can also contain an external URL)
755 * @global string $cfg['LeftLogoLink']
757 $cfg['LeftLogoLink'] = 'main.php';
760 * whether to open the linked page in the main window ('main') or
761 * in a new window ('new')
763 * @global string $cfg['LeftLogoLinkWindow']
765 $cfg['LeftLogoLinkWindow'] = 'main';
768 * display server choice at top of left frame
770 * @global boolean $cfg['LeftDisplayServers']
772 $cfg['LeftDisplayServers'] = false;
775 * server choice as links
777 * @global boolean $cfg['DisplayServersList']
779 $cfg['DisplayServersList'] = false;
782 * database choice in light as links
784 * @global boolean $cfg['DisplayDatabasesList']
786 $cfg['DisplayDatabasesList'] = 'auto';
789 * target of the navigation panel quick access icon
791 * Possible values:
792 * 'tbl_structure.php' = fields list
793 * 'tbl_sql.php' = SQL form
794 * 'tbl_select.php' = search page
795 * 'tbl_change.php' = insert row page
796 * 'sql.php' = browse page
798 * @global string $cfg['LeftDefaultTabTable']
800 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
803 /*******************************************************************************
804 * In the main frame, at startup...
808 * allow to display statistics and space usage in the pages about database
809 * details and table properties
811 * @global boolean $cfg['ShowStats']
813 $cfg['ShowStats'] = true;
816 * show PHP info link
818 * @global boolean $cfg['ShowPhpInfo']
820 $cfg['ShowPhpInfo'] = false;
823 * show MySQL server and web server information
825 * @global boolean $cfg['ShowServerInfo']
827 $cfg['ShowServerInfo'] = true;
830 * show change password link
832 * @global boolean $cfg['ShowChgPassword']
834 $cfg['ShowChgPassword'] = true;
837 * show create database form
839 * @global boolean $cfg['ShowCreateDb']
841 $cfg['ShowCreateDb'] = true;
844 * suggest a new DB name if possible (false = keep empty)
846 * @global boolean $cfg['SuggestDBName']
848 $cfg['SuggestDBName'] = true;
851 /*******************************************************************************
852 * In browse mode...
856 * Use icons instead of text for the navigation bar buttons
857 * and on right panel top menu (server db table) (true|false|'both')
859 * @global string $cfg['NavigationBarIconic']
861 $cfg['NavigationBarIconic'] = true;
864 * allows to display all the rows
866 * @global boolean $cfg['ShowAll']
868 $cfg['ShowAll'] = false;
871 * maximum number of rows to display
873 * @global integer $cfg['MaxRows']
875 $cfg['MaxRows'] = 30;
878 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
879 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
880 * ascending order else-)
882 * @global string $cfg['Order']
884 $cfg['Order'] = 'ASC';
887 * default for 'Show binary contents as HEX'
889 * @global string $cfg['DisplayBinaryAsHex']
891 $cfg['DisplayBinaryAsHex'] = true;
894 /*******************************************************************************
895 * In edit mode...
899 * disallow editing of binary fields
900 * valid values are:
901 * false allow editing
902 * 'blob' allow editing except for BLOB fields
903 * 'all' disallow editing
905 * @global string $cfg['ProtectBinary']
907 $cfg['ProtectBinary'] = 'blob';
910 * Display the function fields in edit/insert mode
912 * @global boolean $cfg['ShowFunctionFields']
914 $cfg['ShowFunctionFields'] = true;
917 * Which editor should be used for CHAR/VARCHAR fields:
918 * input - allows limiting of input length
919 * textarea - allows newlines in fields
921 * @global string $cfg['CharEditing']
923 $cfg['CharEditing'] = 'input';
926 * How many rows can be inserted at one time
928 * @global integer $cfg['InsertRows']
930 $cfg['InsertRows'] = 2;
933 * Sort order for items in a foreign-key drop-down list.
934 * 'content' is the referenced data, 'id' is the key value.
936 * @global array $cfg['ForeignKeyDropdownOrder']
938 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
941 * A drop-down list will be used if fewer items are present
943 * @global integer $cfg['ForeignKeyMaxLimit']
945 $cfg['ForeignKeyMaxLimit'] = 100;
948 /*******************************************************************************
949 * For the export features...
953 * Allow for the use of zip compression (requires zip support to be enabled)
955 * @global boolean $cfg['ZipDump']
957 $cfg['ZipDump'] = true;
960 * Allow for the use of gzip compression (requires zlib)
962 * @global boolean $cfg['GZipDump']
964 $cfg['GZipDump'] = true;
967 * Allow for the use of bzip2 compression (requires bz2 extension)
969 * @global boolean $cfg['BZipDump']
971 $cfg['BZipDump'] = true;
974 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
975 * If you encounter problems with created gzip/bzip2 files disable this feature.
977 * @global boolean $cfg['CompressOnFly']
979 $cfg['CompressOnFly'] = true;
982 /*******************************************************************************
983 * Tabs display settings
987 * use graphically less intense menu tabs
989 * @global boolean $cfg['LightTabs']
991 $cfg['LightTabs'] = false;
994 * Use icons instead of text for the table display of a database (true|false|'both')
996 * @global boolean $cfg['PropertiesIconic']
998 $cfg['PropertiesIconic'] = true;
1001 * How many columns should be used for table display of a database?
1002 * (a value larger than 1 results in some information being hidden)
1004 * @global integer $cfg['PropertiesNumColumns']
1006 $cfg['PropertiesNumColumns'] = 1;
1009 * Possible values:
1010 * 'main.php' = the welcome page
1011 * (recommended for multiuser setups)
1012 * 'server_databases.php' = list of databases
1013 * 'server_status.php' = runtime information
1014 * 'server_variables.php' = MySQL server variables
1015 * 'server_privileges.php' = user management
1016 * 'server_processlist.php' = process list
1018 * @global string $cfg['DefaultTabServer']
1020 $cfg['DefaultTabServer'] = 'main.php';
1023 * Possible values:
1024 * 'db_structure.php' = tables list
1025 * 'db_sql.php' = SQL form
1026 * 'db_search.php' = search query
1027 * 'db_operations.php' = operations on database
1029 * @global string $cfg['DefaultTabDatabase']
1031 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1034 * Possible values:
1035 * 'tbl_structure.php' = fields list
1036 * 'tbl_sql.php' = SQL form
1037 * 'tbl_select.php' = search page
1038 * 'tbl_change.php' = insert row page
1039 * 'sql.php' = browse page
1041 * @global string $cfg['DefaultTabTable']
1043 $cfg['DefaultTabTable'] = 'sql.php';
1046 * Mapping between script filenames and translation keys
1048 * Lookup can be performed by PMA_getTitleForTarget()
1050 * @global string $cfg['DefaultTabTranslationMapping']
1052 $cfg['DefaultTabTranslationMapping'] = array(
1054 // Values for $cfg['DefaultTabTable']
1055 'tbl_structure.php' => 'strStructure',
1056 'tbl_sql.php' => 'strSQL',
1057 'tbl_select.php' => 'strSearch',
1058 'tbl_change.php' => 'strInsert',
1059 'sql.php' => 'strBrowse',
1061 // Values for $cfg['DefaultTabDatabase']
1062 'db_structure.php' => 'strStructure',
1063 'db_sql.php' => 'strSQL',
1064 'db_search.php' => 'strSearch',
1065 'db_operations.php' => 'strOperations',
1068 /*******************************************************************************
1069 * Export defaults
1071 $cfg['Export'] = array();
1074 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1076 * @global string $cfg['Export']['format']
1078 $cfg['Export']['format'] = 'sql';
1081 * none/zip/gzip/bzip2
1083 * @global string $cfg['Export']['compression']
1085 $cfg['Export']['compression'] = 'none';
1090 * @global boolean $cfg['Export']['asfile']
1092 $cfg['Export']['asfile'] = true;
1097 * @global string $cfg['Export']['charset']
1099 $cfg['Export']['charset'] = '';
1104 * @global boolean $cfg['Export']['onserver']
1106 $cfg['Export']['onserver'] = false;
1111 * @global boolean $cfg['Export']['onserver_overwrite']
1113 $cfg['Export']['onserver_overwrite'] = false;
1118 * @global boolean $cfg['Export']['remember_file_template']
1120 $cfg['Export']['remember_file_template'] = true;
1125 * @global string $cfg['Export']['file_template_table']
1127 $cfg['Export']['file_template_table'] = '__TABLE__';
1132 * @global string $cfg['Export']['file_template_database']
1134 $cfg['Export']['file_template_database'] = '__DB__';
1139 * @global string $cfg['Export']['file_template_server']
1141 $cfg['Export']['file_template_server'] = '__SERVER__';
1146 * @global boolean $cfg['Export']['ods_columns']
1148 $cfg['Export']['ods_columns'] = false;
1153 * @global string $cfg['Export']['ods_null']
1155 $cfg['Export']['ods_null'] = 'NULL';
1160 * @global boolean $cfg['Export']['odt_structure']
1162 $cfg['Export']['odt_structure'] = true;
1167 * @global boolean $cfg['Export']['odt_data']
1169 $cfg['Export']['odt_data'] = true;
1174 * @global boolean $cfg['Export']['odt_columns']
1176 $cfg['Export']['odt_columns'] = true;
1181 * @global boolean $cfg['Export']['odt_relation']
1183 $cfg['Export']['odt_relation'] = true;
1188 * @global boolean $cfg['Export']['odt_comments']
1190 $cfg['Export']['odt_comments'] = true;
1195 * @global boolean $cfg['Export']['odt_mime']
1197 $cfg['Export']['odt_mime'] = true;
1202 * @global string $cfg['Export']['odt_null']
1204 $cfg['Export']['odt_null'] = 'NULL';
1209 * @global boolean $cfg['Export']['htmlword_structure']
1211 $cfg['Export']['htmlword_structure'] = true;
1216 * @global boolean $cfg['Export']['htmlword_data']
1218 $cfg['Export']['htmlword_data'] = true;
1223 * @global boolean $cfg['Export']['htmlword_columns']
1225 $cfg['Export']['htmlword_columns'] = false;
1230 * @global string $cfg['Export']['htmlword_null']
1232 $cfg['Export']['htmlword_null'] = 'NULL';
1237 * @global boolean $cfg['Export']['texytext_structure']
1239 $cfg['Export']['texytext_structure'] = TRUE;
1244 * @global boolean $cfg['Export']['texytext_data']
1246 $cfg['Export']['texytext_data'] = TRUE;
1251 * @global boolean $cfg['Export']['texytext_columns']
1253 $cfg['Export']['texytext_columns'] = FALSE;
1258 * @global string $cfg['Export']['texytext_null']
1260 $cfg['Export']['texytext_null'] = 'NULL';
1265 * @global boolean $cfg['Export']['xls_columns']
1267 $cfg['Export']['xls_columns'] = false;
1272 * @global string $cfg['Export']['xls_null']
1274 $cfg['Export']['xls_null'] = 'NULL';
1279 * @global boolean $cfg['Export']['xlsx_columns']
1281 $cfg['Export']['xlsx_columns'] = false;
1286 * @global string $cfg['Export']['xlsx_null']
1288 $cfg['Export']['xlsx_null'] = 'NULL';
1293 * @global boolean $cfg['Export']['csv_columns']
1295 $cfg['Export']['csv_columns'] = false;
1300 * @global string $cfg['Export']['csv_null']
1302 $cfg['Export']['csv_null'] = 'NULL';
1307 * @global string $cfg['Export']['csv_separator']
1309 $cfg['Export']['csv_separator'] = ';';
1314 * @global string $cfg['Export']['csv_enclosed']
1316 $cfg['Export']['csv_enclosed'] = '"';
1321 * @global string $cfg['Export']['csv_escaped']
1323 $cfg['Export']['csv_escaped'] = '\\';
1328 * @global string $cfg['Export']['csv_terminated']
1330 $cfg['Export']['csv_terminated'] = 'AUTO';
1335 * @global boolean $cfg['Export']['excel_columns']
1337 $cfg['Export']['excel_columns'] = false;
1342 * @global string $cfg['Export']['excel_null']
1344 $cfg['Export']['excel_null'] = 'NULL';
1347 * win/mac
1349 * @global string $cfg['Export']['excel_edition']
1351 $cfg['Export']['excel_edition'] = 'win';
1356 * @global boolean $cfg['Export']['latex_structure']
1358 $cfg['Export']['latex_structure'] = true;
1363 * @global boolean $cfg['Export']['latex_data']
1365 $cfg['Export']['latex_data'] = true;
1370 * @global boolean $cfg['Export']['latex_columns']
1372 $cfg['Export']['latex_columns'] = true;
1377 * @global boolean $cfg['Export']['latex_relation']
1379 $cfg['Export']['latex_relation'] = true;
1384 * @global boolean $cfg['Export']['latex_comments']
1386 $cfg['Export']['latex_comments'] = true;
1391 * @global boolean $cfg['Export']['latex_mime']
1393 $cfg['Export']['latex_mime'] = true;
1398 * @global string $cfg['Export']['latex_null']
1400 $cfg['Export']['latex_null'] = '\textit{NULL}';
1405 * @global boolean $cfg['Export']['latex_caption']
1407 $cfg['Export']['latex_caption'] = true;
1412 * @global string $cfg['Export']['latex_structure_caption']
1414 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1419 * @global string $cfg['Export']['latex_structure_continued_caption']
1421 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1426 * @global string $cfg['Export']['latex_data_caption']
1428 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1433 * @global string $cfg['Export']['latex_data_continued_caption']
1435 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1440 * @global string $cfg['Export']['latex_data_label']
1442 $cfg['Export']['latex_data_label'] = 'tab:__TABLE__-data';
1447 * @global string $cfg['Export']['latex_structure_label']
1449 $cfg['Export']['latex_structure_label'] = 'tab:__TABLE__-structure';
1454 * @global boolean $cfg['Export']['sql_structure']
1456 $cfg['Export']['sql_structure'] = true;
1461 * @global boolean $cfg['Export']['sql_data']
1463 $cfg['Export']['sql_data'] = true;
1468 * @global string $cfg['Export']['sql_compatibility']
1470 $cfg['Export']['sql_compatibility'] = 'NONE';
1473 * Whether to include comments in SQL export.
1475 * @global string $cfg['Export']['sql_include_comments']
1477 $cfg['Export']['sql_include_comments'] = true;
1482 * @global boolean $cfg['Export']['sql_disable_fk']
1484 $cfg['Export']['sql_disable_fk'] = false;
1489 * @global boolean $cfg['Export']['sql_use_transaction']
1491 $cfg['Export']['sql_use_transaction'] = false;
1496 * @global boolean $cfg['Export']['sql_drop_database']
1498 $cfg['Export']['sql_drop_database'] = false;
1503 * @global boolean $cfg['Export']['sql_drop_table']
1505 $cfg['Export']['sql_drop_table'] = false;
1510 * true by default for correct behavior when dealing with exporting
1511 * of VIEWs and the stand-in table
1512 * @global boolean $cfg['Export']['sql_if_not_exists']
1514 $cfg['Export']['sql_if_not_exists'] = true;
1519 * @global boolean $cfg['Export']['sql_procedure_function']
1521 $cfg['Export']['sql_procedure_function'] = false;
1526 * @global boolean $cfg['Export']['sql_auto_increment']
1528 $cfg['Export']['sql_auto_increment'] = true;
1533 * @global boolean $cfg['Export']['sql_backquotes']
1535 $cfg['Export']['sql_backquotes'] = true;
1540 * @global boolean $cfg['Export']['sql_dates']
1542 $cfg['Export']['sql_dates'] = false;
1547 * @global boolean $cfg['Export']['sql_relation']
1549 $cfg['Export']['sql_relation'] = false;
1554 * @global boolean $cfg['Export']['sql_columns']
1556 $cfg['Export']['sql_columns'] = true;
1561 * @global boolean $cfg['Export']['sql_delayed']
1563 $cfg['Export']['sql_delayed'] = false;
1568 * @global boolean $cfg['Export']['sql_ignore']
1570 $cfg['Export']['sql_ignore'] = false;
1575 * @global boolean $cfg['Export']['sql_hex_for_blob']
1577 $cfg['Export']['sql_hex_for_blob'] = true;
1580 * insert/update/replace
1582 * @global string $cfg['Export']['sql_type']
1584 $cfg['Export']['sql_type'] = 'insert';
1589 * @global boolean $cfg['Export']['sql_extended']
1591 $cfg['Export']['sql_extended'] = true;
1596 * @global integer $cfg['Export']['sql_max_query_size']
1598 $cfg['Export']['sql_max_query_size'] = 50000;
1603 * @global boolean $cfg['Export']['sql_comments']
1605 $cfg['Export']['sql_comments'] = false;
1610 * @global boolean $cfg['Export']['sql_mime']
1612 $cfg['Export']['sql_mime'] = false;
1615 * \n is replaced by new line
1617 * @global string $cfg['Export']['sql_header_comment']
1619 $cfg['Export']['sql_header_comment'] = '';
1624 * @global boolean $cfg['Export']['pdf_structure']
1626 $cfg['Export']['pdf_structure'] = false;
1631 * @global boolean $cfg['Export']['pdf_data']
1633 $cfg['Export']['pdf_data'] = true;
1638 * @global string $cfg['Export']['pdf_report_title']
1640 $cfg['Export']['pdf_report_title'] = '';
1643 * Export schema for each structure
1645 * @global string $cfg['Export']['xml_export_struc']
1647 $cfg['Export']['xml_export_struc'] = true;
1650 * Export functions
1652 * @global string $cfg['Export']['xml_export_functions']
1654 $cfg['Export']['xml_export_functions'] = true;
1657 * Export procedures
1659 * @global string $cfg['Export']['xml_export_procedures']
1661 $cfg['Export']['xml_export_procedures'] = true;
1664 * Export schema for each table
1666 * @global string $cfg['Export']['xml_export_tables']
1668 $cfg['Export']['xml_export_tables'] = true;
1671 * Export triggers
1673 * @global string $cfg['Export']['xml_export_triggers']
1675 $cfg['Export']['xml_export_triggers'] = true;
1678 * Export views
1680 * @global string $cfg['Export']['xml_export_views']
1682 $cfg['Export']['xml_export_views'] = true;
1685 * Export contents data
1687 * @global string $cfg['Export']['xml_export_contents']
1689 $cfg['Export']['xml_export_contents'] = true;
1692 /*******************************************************************************
1693 * Import defaults
1695 $cfg['Import'] = array();
1700 * @global string $cfg['Import']['format']
1702 $cfg['Import']['format'] = 'sql';
1705 * Default charset for import.
1707 * @global string $cfg['Import']['charset']
1709 $cfg['Import']['charset'] = '';
1714 * @global boolean $cfg['Import']['allow_interrupt']
1716 $cfg['Import']['allow_interrupt'] = true;
1721 * @global integer $cfg['Import']['skip_queries']
1723 $cfg['Import']['skip_queries'] = '0';
1728 * @global string $cfg['Import']['sql_compatibility']
1730 $cfg['Import']['sql_compatibility'] = 'NONE';
1735 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
1737 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
1742 * @global boolean $cfg['Import']['csv_replace']
1744 $cfg['Import']['csv_replace'] = false;
1749 * @global string $cfg['Import']['csv_terminated']
1751 $cfg['Import']['csv_terminated'] = ';';
1756 * @global string $cfg['Import']['csv_enclosed']
1758 $cfg['Import']['csv_enclosed'] = '"';
1763 * @global string $cfg['Import']['csv_escaped']
1765 $cfg['Import']['csv_escaped'] = '\\';
1770 * @global string $cfg['Import']['csv_new_line']
1772 $cfg['Import']['csv_new_line'] = 'auto';
1777 * @global string $cfg['Import']['csv_columns']
1779 $cfg['Import']['csv_columns'] = '';
1784 * @global string $cfg['Import']['csv_col_names']
1786 $cfg['Import']['csv_col_names'] = false;
1791 * @global boolean $cfg['Import']['ldi_replace']
1793 $cfg['Import']['ldi_replace'] = false;
1798 * @global string $cfg['Import']['ldi_terminated']
1800 $cfg['Import']['ldi_terminated'] = ';';
1805 * @global string $cfg['Import']['ldi_enclosed']
1807 $cfg['Import']['ldi_enclosed'] = '"';
1812 * @global string $cfg['Import']['ldi_escaped']
1814 $cfg['Import']['ldi_escaped'] = '\\';
1819 * @global string $cfg['Import']['ldi_new_line']
1821 $cfg['Import']['ldi_new_line'] = 'auto';
1826 * @global string $cfg['Import']['ldi_columns']
1828 $cfg['Import']['ldi_columns'] = '';
1831 * 'auto' for auto-detection, true or false for forcing
1833 * @global string $cfg['Import']['ldi_local_option']
1835 $cfg['Import']['ldi_local_option'] = 'auto';
1840 * @global string $cfg['Import']['ods_col_names']
1842 $cfg['Import']['ods_col_names'] = false;
1847 * @global string $cfg['Import']['ods_empty_rows']
1849 $cfg['Import']['ods_empty_rows'] = true;
1854 * @global string $cfg['Import']['ods_recognize_percentages']
1856 $cfg['Import']['ods_recognize_percentages'] = true;
1861 * @global string $cfg['Import']['ods_recognize_currency']
1863 $cfg['Import']['ods_recognize_currency'] = true;
1868 * @global string $cfg['Import']['xml_col_names']
1870 $cfg['Import']['xls_col_names'] = false;
1875 * @global string $cfg['Import']['xml_empty_rows']
1877 $cfg['Import']['xls_empty_rows'] = true;
1880 * Link to the official MySQL documentation.
1881 * Be sure to include no trailing slash on the path.
1882 * See http://dev.mysql.com/doc/ for more information
1883 * about MySQL manuals and their types.
1885 * @global string $cfg['MySQLManualBase']
1887 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
1890 * Type of MySQL documentation:
1891 * viewable - "viewable online", current one used on MySQL website
1892 * searchable - "Searchable, with user comments"
1893 * chapters - "HTML, one page per chapter"
1894 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
1895 * big - "HTML, all on one page"
1896 * old - old style used in phpMyAdmin 2.3.0 and sooner
1897 * none - do not show documentation links
1899 * @global string $cfg['MySQLManualType']
1901 $cfg['MySQLManualType'] = 'viewable';
1904 /*******************************************************************************
1905 * PDF options
1911 * @global array $cfg['PDFPageSizes']
1913 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
1918 * @global string $cfg['PDFDefaultPageSize']
1920 $cfg['PDFDefaultPageSize'] = 'A4';
1923 /*******************************************************************************
1924 * Language and character set conversion settings
1928 * Default language to use, if not browser-defined or user-defined
1930 * @global string $cfg['DefaultLang']
1932 $cfg['DefaultLang'] = 'en-utf-8';
1935 * Default connection collation
1937 * @global string $cfg['DefaultConnectionCollation']
1939 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
1942 * Force: always use this language - must be defined in
1943 * libraries/select_lang.lib.php
1944 * $cfg['Lang'] = 'en-utf-8';
1946 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
1947 * English only
1949 * @global string $cfg['FilterLanguages']
1951 $cfg['FilterLanguages'] = '';
1954 * Default character set to use for recoding of MySQL queries, does not take
1955 * any effect when character sets recoding is switched off by
1956 * $cfg['AllowAnywhereRecoding'] or in language file
1957 * (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
1959 * @global string $cfg['DefaultCharset']
1961 $cfg['DefaultCharset'] = 'utf-8';
1964 * Allow character set recoding of MySQL queries, must be also enabled in language
1965 * file to make harder using other language files than Unicode.
1966 * Default value is false to avoid problems on servers without the iconv
1967 * extension
1969 * @global boolean $cfg['AllowAnywhereRecoding']
1971 $cfg['AllowAnywhereRecoding'] = false;
1974 * You can select here which functions will be used for character set conversion.
1975 * Possible values are:
1976 * auto - automatically use available one (first is tested iconv, then
1977 * recode)
1978 * iconv - use iconv or libiconv functions
1979 * recode - use recode_string function
1981 * @global string $cfg['RecodingEngine']
1983 $cfg['RecodingEngine'] = 'auto';
1986 * Specify some parameters for iconv used in character set conversion. See iconv
1987 * documentation for details:
1988 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
1990 * @global string $cfg['IconvExtraParams']
1992 $cfg['IconvExtraParams'] = '//TRANSLIT';
1995 * Available character sets for MySQL conversion. currently contains all which could
1996 * be found in lang/* files and few more.
1997 * Character sets will be shown in same order as here listed, so if you frequently
1998 * use some of these move them to the top.
2000 * @global array $cfg['AvailableCharsets']
2002 $cfg['AvailableCharsets'] = array(
2003 'iso-8859-1',
2004 'iso-8859-2',
2005 'iso-8859-3',
2006 'iso-8859-4',
2007 'iso-8859-5',
2008 'iso-8859-6',
2009 'iso-8859-7',
2010 'iso-8859-8',
2011 'iso-8859-9',
2012 'iso-8859-10',
2013 'iso-8859-11',
2014 'iso-8859-12',
2015 'iso-8859-13',
2016 'iso-8859-14',
2017 'iso-8859-15',
2018 'windows-1250',
2019 'windows-1251',
2020 'windows-1252',
2021 'windows-1256',
2022 'windows-1257',
2023 'koi8-r',
2024 'big5',
2025 'gb2312',
2026 'utf-16',
2027 'utf-8',
2028 'utf-7',
2029 'x-user-defined',
2030 'euc-jp',
2031 'ks_c_5601-1987',
2032 'tis-620',
2033 'SHIFT_JIS'
2037 /*******************************************************************************
2038 * Customization & design
2040 * The graphical settings are now located in themes/theme-name/layout.inc.php
2044 * enable the left panel pointer
2045 * (used when LeftFrameLight is false)
2046 * see also LeftPointerColor
2047 * in layout.inc.php
2049 * @global boolean $cfg['LeftPointerEnable']
2051 $cfg['LeftPointerEnable'] = true;
2054 * enable the browse pointer
2055 * see also BrowsePointerColor
2056 * in layout.inc.php
2058 * @global boolean $cfg['BrowsePointerEnable']
2060 $cfg['BrowsePointerEnable'] = true;
2063 * enable the browse marker
2064 * see also BrowseMarkerColor
2065 * in layout.inc.php
2067 * @global boolean $cfg['BrowseMarkerEnable']
2069 $cfg['BrowseMarkerEnable'] = true;
2072 * textarea size (columns) in edit mode
2073 * (this value will be emphasized (*2) for SQL
2074 * query textareas and (*1.25) for query window)
2076 * @global integer $cfg['TextareaCols']
2078 $cfg['TextareaCols'] = 40;
2081 * textarea size (rows) in edit mode
2083 * @global integer $cfg['TextareaRows']
2085 $cfg['TextareaRows'] = 15;
2088 * double size of textarea size for LONGTEXT fields
2090 * @global boolean $cfg['LongtextDoubleTextarea']
2092 $cfg['LongtextDoubleTextarea'] = true;
2095 * auto-select when clicking in the textarea of the query-box
2097 * @global boolean $cfg['TextareaAutoSelect']
2099 $cfg['TextareaAutoSelect'] = false;
2102 * textarea size (columns) for CHAR/VARCHAR
2104 * @global integer $cfg['CharTextareaCols']
2106 $cfg['CharTextareaCols'] = 40;
2109 * textarea size (rows) for CHAR/VARCHAR
2111 * @global integer $cfg['CharTextareaRows']
2113 $cfg['CharTextareaRows'] = 2;
2116 * Enable Ctrl+Arrows moving between fields when editing?
2118 * @global boolean $cfg['CtrlArrowsMoving']
2120 $cfg['CtrlArrowsMoving'] = true;
2123 * Max field data length in browse mode for all non-numeric fields
2125 * @global integer $cfg['LimitChars']
2127 $cfg['LimitChars'] = 50;
2130 * show edit/delete links on left side of browse
2131 * (or at the top with vertical browse)
2133 * @global boolean $cfg['ModifyDeleteAtLeft']
2135 $cfg['ModifyDeleteAtLeft'] = true;
2138 * show edit/delete links on right side of browse
2139 * (or at the bottom with vertical browse)
2141 * @global boolean $cfg['ModifyDeleteAtRight']
2143 $cfg['ModifyDeleteAtRight'] = false;
2146 * default display direction (horizontal|vertical|horizontalflipped)
2148 * @global string $cfg['DefaultDisplay']
2150 $cfg['DefaultDisplay'] = 'horizontal';
2153 * default display direction for altering/creating columns (tbl_properties)
2154 * (horizontal|vertical|<number>)
2155 * number indicates maximal number for which vertical model is used
2157 * @global integer $cfg['DefaultPropDisplay']
2159 $cfg['DefaultPropDisplay'] = 3;
2162 * table-header rotation via faking or CSS? (css|fake)
2163 * NOTE: CSS only works in IE browsers!
2165 * @global string $cfg['HeaderFlipType']
2167 $cfg['HeaderFlipType'] = 'css';
2170 * shows stored relation-comments in 'browse' mode.
2172 * @global boolean $cfg['ShowBrowseComments']
2174 $cfg['ShowBrowseComments'] = true;
2177 * shows stored relation-comments in 'table property' mode.
2179 * @global boolean $cfg['ShowPropertyComments']
2181 $cfg['ShowPropertyComments']= true;
2184 * repeat header names every X cells? (0 = deactivate)
2186 * @global integer $cfg['RepeatCells']
2188 $cfg['RepeatCells'] = 100;
2191 * Set to true if Edit link should open the query to edit in the query window
2192 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
2194 * @global boolean $cfg['EditInWindow']
2196 $cfg['EditInWindow'] = true;
2199 * Width of Query window
2201 * @global integer $cfg['QueryWindowWidth']
2203 $cfg['QueryWindowWidth'] = 550;
2206 * Height of Query window
2208 * @global integer $cfg['QueryWindowHeight']
2210 $cfg['QueryWindowHeight'] = 310;
2213 * Set to true if you want DB-based query history.If false, this utilizes
2214 * JS-routines to display query history (lost by window close)
2216 * @global boolean $cfg['QueryHistoryDB']
2218 $cfg['QueryHistoryDB'] = false;
2221 * which tab to display in the querywindow on startup
2222 * (sql|files|history|full)
2224 * @global string $cfg['QueryWindowDefTab']
2226 $cfg['QueryWindowDefTab'] = 'sql';
2229 * When using DB-based query history, how many entries should be kept?
2231 * @global integer $cfg['QueryHistoryMax']
2233 $cfg['QueryHistoryMax'] = 25;
2236 * Use MIME-Types (stored in column comments table) for
2238 * @global boolean $cfg['BrowseMIME']
2240 $cfg['BrowseMIME'] = true;
2243 * When approximate count < this, PMA will get exact count for table rows.
2245 * @global integer $cfg['MaxExactCount']
2247 $cfg['MaxExactCount'] = 20000;
2250 * Zero means that no row count is done for views; see the doc
2252 * @global integer $cfg['MaxExactCountViews']
2254 $cfg['MaxExactCountViews'] = 0;
2257 * Utilize DHTML/JS capabilities to allow WYSIWYG editing of
2258 * the PDF page editor. Requires an IE6/Gecko based browser.
2260 * @global boolean $cfg['WYSIWYG-PDF']
2262 $cfg['WYSIWYG-PDF'] = true;
2265 * Sort table and database in natural order
2267 * @global boolean $cfg['NaturalOrder']
2269 $cfg['NaturalOrder'] = true;
2272 * Initial state for sliders
2273 * (open | closed)
2275 * @global string $cfg['InitialSlidersState']
2277 $cfg['InitialSlidersState'] = 'closed';
2281 //-----------------------------------------------------------------------------
2282 // custom-setup by mkkeck: 2004-05-04
2283 // some specials for new icons and scrolling
2285 * @todo 2004-05-08 rabus: We need to rearrange these variables.
2289 /*******************************************************************************
2290 * Window title settings
2294 * title of browser window when a table is selected
2296 * @global string $cfg['TitleTable']
2298 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2301 * title of browser window when a database is selected
2303 * @global string $cfg['TitleDatabase']
2305 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2308 * title of browser window when a server is selected
2310 * @global string $cfg['TitleServer']
2312 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2315 * title of browser window when nothing is selected
2316 * @global string $cfg['TitleDefault']
2318 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2321 * show some icons for warning, error and information messages (true|false)?
2323 * @global boolean $cfg['ErrorIconic']
2325 $cfg['ErrorIconic'] = true;
2328 * show icons in list on main page and on menu tabs (true|false)?
2330 * @global boolean $cfg['MainPageIconic']
2332 $cfg['MainPageIconic'] = true;
2335 * show help button instead of strDocu (true|false)?
2337 * @global boolean $cfg['ReplaceHelpImg']
2339 $cfg['ReplaceHelpImg'] = true;
2342 /*******************************************************************************
2343 * theme manager
2347 * using themes manager please set up here the path to 'themes' else leave empty
2349 * @global string $cfg['ThemePath']
2351 $cfg['ThemePath'] = './themes';
2354 * if you want to use selectable themes and if ThemesPath not empty
2355 * set it to true, else set it to false (default is false);
2357 * @global boolean $cfg['ThemeManager']
2359 $cfg['ThemeManager'] = true;
2362 * set up default theme, if ThemePath not empty you can set up here an valid
2363 * path to themes or 'original' for the original pma-theme
2365 * @global string $cfg['ThemeDefault']
2367 $cfg['ThemeDefault'] = 'original';
2370 * allow different theme for each configured server
2372 * @global boolean $cfg['ThemePerServer']
2374 $cfg['ThemePerServer'] = false;
2377 /*******************************************************************************
2382 * Default queries
2383 * %d will be replaced by the database name.
2384 * %t will be replaced by the table name.
2385 * %f will be replaced by a list of field names.
2386 * (%t and %f only applies to DefaultQueryTable)
2388 * @global string $cfg['DefaultQueryTable']
2390 $cfg['DefaultQueryTable'] = 'SELECT * FROM %t WHERE 1';
2393 * Default queries
2394 * %d will be replaced by the database name.
2395 * %t will be replaced by the table name.
2396 * %f will be replaced by a list of field names.
2397 * (%t and %f only applies to DefaultQueryTable)
2399 * @global string $cfg['DefaultQueryDatabase']
2401 $cfg['DefaultQueryDatabase'] = '';
2404 /*******************************************************************************
2405 * SQL Query box settings
2406 * These are the links display in all of the SQL Query boxes
2408 * @global array $cfg['SQLQuery']
2410 $cfg['SQLQuery'] = array();
2413 * Edit link to change a query
2415 * @global boolean $cfg['SQLQuery']['Edit']
2417 $cfg['SQLQuery']['Edit'] = true;
2420 * EXPLAIN on SELECT queries
2422 * @global boolean $cfg['SQLQuery']['Explain']
2424 $cfg['SQLQuery']['Explain'] = true;
2427 * Wrap a query in PHP
2429 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2431 $cfg['SQLQuery']['ShowAsPHP'] = true;
2434 * Validate a query (see $cfg['SQLValidator'] as well)
2436 * @global boolean $cfg['SQLQuery']['Validate']
2438 $cfg['SQLQuery']['Validate'] = false;
2441 * Refresh the results page
2443 * @global boolean $cfg['SQLQuery']['Refresh']
2445 $cfg['SQLQuery']['Refresh'] = true;
2448 /*******************************************************************************
2449 * Web server upload/save/import directories
2453 * Directory for uploaded files that can be executed by phpMyAdmin.
2454 * For example './upload'. Leave empty for no upload directory support.
2455 * Use %u for username inclusion.
2457 * @global string $cfg['UploadDir']
2459 $cfg['UploadDir'] = '';
2462 * Directory where phpMyAdmin can save exported data on server.
2463 * For example './save'. Leave empty for no save directory support.
2464 * Use %u for username inclusion.
2466 * @global string $cfg['SaveDir']
2468 $cfg['SaveDir'] = '';
2471 * Directory where phpMyAdmin can save temporary files.
2472 * This is needed for MS Excel export, see documentation how to enable that.
2474 * @global string $cfg['TempDir']
2476 $cfg['TempDir'] = '';
2480 * Misc. settings
2484 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2485 * which is the only safe way to determine GD version.
2487 * @global string $cfg['GD2Available']
2489 $cfg['GD2Available'] = 'auto';
2492 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2494 * @global array $cfg['TrustedProxies']
2496 $cfg['TrustedProxies'] = array();
2499 * We normally check the permissions on the configuration file to ensure
2500 * it's not world writable. However, phpMyAdmin could be installed on
2501 * a NTFS filesystem mounted on a non-Windows server, in which case the
2502 * permissions seems wrong but in fact cannot be detected. In this case
2503 * a sysadmin would set the following to false.
2505 $cfg['CheckConfigurationPermissions'] = true;
2508 * Limit for length of URL in links. When length would be above this limit, it
2509 * is replaced by form with button.
2510 * This is required as some web servers (IIS) have problems with long URLs.
2512 $cfg['LinkLengthLimit'] = 1000;
2514 /*******************************************************************************
2515 * SQL Parser Settings
2517 * @global array $cfg['SQP']
2519 $cfg['SQP'] = array();
2522 * Pretty-printing style to use on queries (html, text, none)
2524 * @global string $cfg['SQP']['fmtType']
2526 $cfg['SQP']['fmtType'] = 'html';
2529 * Amount to indent each level (floats are valid)
2531 * @global integer $cfg['SQP']['fmtInd']
2533 $cfg['SQP']['fmtInd'] = '1';
2536 * Units for indenting each level (CSS Types - {em, px, pt})
2538 * @global string $cfg['SQP']['fmtIndUnit']
2540 $cfg['SQP']['fmtIndUnit'] = 'em';
2543 /*******************************************************************************
2544 * If you wish to use the SQL Validator service, you should be aware of the
2545 * following:
2546 * All SQL statements are stored anonymously for statistical purposes.
2547 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2548 * All rights reserved.
2550 * @global array $cfg['SQLValidator']
2552 $cfg['SQLValidator'] = array();
2555 * Make the SQL Validator available
2557 * @global boolean $cfg['SQLValidator']['use']
2559 $cfg['SQLValidator']['use'] = false;
2562 * If you have a custom username, specify it here (defaults to anonymous)
2564 * @global string $cfg['SQLValidator']['username']
2566 $cfg['SQLValidator']['username'] = '';
2569 * Password for username
2571 * @global string $cfg['SQLValidator']['password']
2573 $cfg['SQLValidator']['password'] = '';
2576 /*******************************************************************************
2577 * Developers ONLY!
2579 * @global array $cfg['DBG']
2581 $cfg['DBG'] = array();
2584 * Output executed queries and their execution times
2586 * @global boolean $cfg['DBG']['sql']
2588 $cfg['DBG']['sql'] = false;
2591 * Make the DBG stuff available
2592 * To use the following, please install the DBG extension from http://dd.cron.ru/dbg/
2594 * @global boolean $cfg['DBG']['php']
2596 $cfg['DBG']['php'] = false;
2599 * Produce profiling results of PHP
2601 * @global boolean $cfg['DBG']['profile']['enable']
2603 $cfg['DBG']['profile']['enable'] = false;
2606 * Threshold of long running code to display
2607 * Anything below the threshold is not displayed
2609 * @global float $cfg['DBG']['profile']['threshold']
2611 $cfg['DBG']['profile']['threshold'] = 0.5;
2614 /*******************************************************************************
2615 * MySQL settings
2619 * Column types;
2620 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2622 * @global array $cfg['ColumnTypes']
2624 $cfg['ColumnTypes'] = array(
2625 // most used
2626 'INT',
2627 'VARCHAR',
2628 'TEXT',
2629 'DATE',
2631 // numeric
2632 'NUMERIC' => array(
2633 'TINYINT',
2634 'SMALLINT',
2635 'MEDIUMINT',
2636 'INT',
2637 'BIGINT',
2638 '-',
2639 'DECIMAL',
2640 'FLOAT',
2641 'DOUBLE',
2642 'REAL',
2643 '-',
2644 'BIT',
2645 'BOOLEAN',
2646 'SERIAL',
2650 // Date/Time
2651 'DATE and TIME' => array(
2652 'DATE',
2653 'DATETIME',
2654 'TIMESTAMP',
2655 'TIME',
2656 'YEAR',
2659 // Text
2660 'STRING' => array(
2661 'CHAR',
2662 'VARCHAR',
2663 '-',
2664 'TINYTEXT',
2665 'TEXT',
2666 'MEDIUMTEXT',
2667 'LONGTEXT',
2668 '-',
2669 'BINARY',
2670 'VARBINARY',
2671 '-',
2672 'TINYBLOB',
2673 'MEDIUMBLOB',
2674 'BLOB',
2675 'LONGBLOB',
2676 '-',
2677 'ENUM',
2678 'SET',
2681 'SPATIAL' => array(
2682 'GEOMETRY',
2683 'POINT',
2684 'LINESTRING',
2685 'POLYGON',
2686 'MULTIPOINT',
2687 'MULTILINESTRING',
2688 'MULTIPOLYGON',
2689 'GEOMETRYCOLLECTION',
2694 * Attributes
2696 * @global array $cfg['AttributeTypes']
2698 $cfg['AttributeTypes'] = array(
2700 'BINARY',
2701 'UNSIGNED',
2702 'UNSIGNED ZEROFILL',
2703 'on update CURRENT_TIMESTAMP',
2707 if ($cfg['ShowFunctionFields']) {
2709 * Available functions
2711 * @global array $cfg['Functions']
2713 $cfg['Functions'] = array(
2714 'ABS',
2715 'ACOS',
2716 'ASCII',
2717 'ASIN',
2718 'ATAN',
2719 'BIN',
2720 'BIT_COUNT',
2721 'BIT_LENGTH',
2722 'CEILING',
2723 'CHAR',
2724 'CHAR_LENGTH',
2725 'COMPRESS',
2726 'COS',
2727 'COT',
2728 'CRC32',
2729 'CURDATE',
2730 'CURRENT_USER',
2731 'CURTIME',
2732 'DATE',
2733 'DAYNAME',
2734 'DEGREES',
2735 'DES_DECRYPT',
2736 'DES_ENCRYPT',
2737 'ENCRYPT',
2738 'EXP',
2739 'FLOOR',
2740 'FROM_DAYS',
2741 'FROM_UNIXTIME',
2742 'HEX',
2743 'INET_ATON',
2744 'INET_NTOA',
2745 'LENGTH',
2746 'LN',
2747 'LOG',
2748 'LOG10',
2749 'LOG2',
2750 'LOWER',
2751 'MD5',
2752 'NOW',
2753 'OCT',
2754 'OLD_PASSWORD',
2755 'ORD',
2756 'PASSWORD',
2757 'RADIANS',
2758 'RAND',
2759 'REVERSE',
2760 'ROUND',
2761 'SEC_TO_TIME',
2762 'SHA1',
2763 'SOUNDEX',
2764 'SPACE',
2765 'SQRT',
2766 'STDDEV_POP',
2767 'STDDEV_SAMP',
2768 'TAN',
2769 'TIMESTAMP',
2770 'TIME_TO_SEC',
2771 'UNCOMPRESS',
2772 'UNHEX',
2773 'UNIX_TIMESTAMP',
2774 'UPPER',
2775 'USER',
2776 'UTC_DATE',
2777 'UTC_TIME',
2778 'UTC_TIMESTAMP',
2779 'UUID',
2780 'VAR_POP',
2781 'VAR_SAMP',
2782 'YEAR',
2786 * Which column types will be mapped to which Group?
2788 * @global array $cfg['RestrictColumnTypes']
2790 $cfg['RestrictColumnTypes'] = array(
2791 'TINYINT' => 'FUNC_NUMBER',
2792 'SMALLINT' => 'FUNC_NUMBER',
2793 'MEDIUMINT' => 'FUNC_NUMBER',
2794 'INT' => 'FUNC_NUMBER',
2795 'BIGINT' => 'FUNC_NUMBER',
2796 'DECIMAL' => 'FUNC_NUMBER',
2797 'FLOAT' => 'FUNC_NUMBER',
2798 'DOUBLE' => 'FUNC_NUMBER',
2799 'REAL' => 'FUNC_NUMBER',
2800 'BIT' => 'FUNC_NUMBER',
2801 'BOOLEAN' => 'FUNC_NUMBER',
2802 'SERIAL' => 'FUNC_NUMBER',
2804 'DATE' => 'FUNC_DATE',
2805 'DATETIME' => 'FUNC_DATE',
2806 'TIMESTAMP' => 'FUNC_DATE',
2807 'TIME' => 'FUNC_DATE',
2808 'YEAR' => 'FUNC_DATE',
2810 'CHAR' => 'FUNC_CHAR',
2811 'VARCHAR' => 'FUNC_CHAR',
2812 'TINYTEXT' => 'FUNC_CHAR',
2813 'TEXT' => 'FUNC_CHAR',
2814 'MEDIUMTEXT' => 'FUNC_CHAR',
2815 'LONGTEXT' => 'FUNC_CHAR',
2816 'BINARY' => 'FUNC_CHAR',
2817 'VARBINARY' => 'FUNC_CHAR',
2818 'TINYBLOB' => 'FUNC_CHAR',
2819 'MEDIUMBLOB' => 'FUNC_CHAR',
2820 'BLOB' => 'FUNC_CHAR',
2821 'LONGBLOB' => 'FUNC_CHAR',
2822 'ENUM' => '',
2823 'SET' => '',
2825 'GEOMETRY' => 'FUNC_SPATIAL',
2826 'POINT' => 'FUNC_SPATIAL',
2827 'LINESTRING' => 'FUNC_SPATIAL',
2828 'POLYGON' => 'FUNC_SPATIAL',
2829 'MULTIPOINT' => 'FUNC_SPATIAL',
2830 'MULTILINESTRING' => 'FUNC_SPATIAL',
2831 'MULTIPOLYGON' => 'FUNC_SPATIAL',
2832 'GEOMETRYCOLLECTION' => 'FUNC_SPATIAL',
2837 * Map above defined groups to any function
2839 * @global array $cfg['RestrictFunctions']
2841 $cfg['RestrictFunctions'] = array(
2842 'FUNC_CHAR' => array(
2843 'BIN',
2844 'CHAR',
2845 'CURRENT_USER',
2846 'COMPRESS',
2847 'DAYNAME',
2848 'DES_DECRYPT',
2849 'DES_ENCRYPT',
2850 'ENCRYPT',
2851 'HEX',
2852 'INET_NTOA',
2853 'LOWER',
2854 'MD5',
2855 'OLD_PASSWORD',
2856 'PASSWORD',
2857 'REVERSE',
2858 'SHA1',
2859 'SOUNDEX',
2860 'SPACE',
2861 'UNCOMPRESS',
2862 'UNHEX',
2863 'UPPER',
2864 'USER',
2865 'UUID',
2868 'FUNC_DATE' => array(
2869 'CURDATE',
2870 'CURTIME',
2871 'DATE',
2872 'FROM_DAYS',
2873 'FROM_UNIXTIME',
2874 'NOW',
2875 'SEC_TO_TIME',
2876 'TIMESTAMP',
2877 'UTC_DATE',
2878 'UTC_TIME',
2879 'UTC_TIMESTAMP',
2880 'YEAR',
2883 'FUNC_NUMBER' => array(
2884 'ABS',
2885 'ACOS',
2886 'ASCII',
2887 'ASIN',
2888 'ATAN',
2889 'BIT_LENGTH',
2890 'BIT_COUNT',
2891 'CEILING',
2892 'CHAR_LENGTH',
2893 'COS',
2894 'COT',
2895 'CRC32',
2896 'DEGREES',
2897 'EXP',
2898 'FLOOR',
2899 'INET_ATON',
2900 'LENGTH',
2901 'LN',
2902 'LOG',
2903 'LOG2',
2904 'LOG10',
2905 'OCT',
2906 'ORD',
2907 'RADIANS',
2908 'RAND',
2909 'ROUND',
2910 'SQRT',
2911 'STDDEV_POP',
2912 'STDDEV_SAMP',
2913 'TAN',
2914 'TIME_TO_SEC',
2915 'UNIX_TIMESTAMP',
2916 'VAR_POP',
2917 'VAR_SAMP',
2920 'FUNC_SPATIAL' => array(
2921 'GeomFromText',
2922 'GeomFromWKB',
2924 'GeomCollFromText',
2925 'LineFromText',
2926 'MLineFromText',
2927 'PointFromText',
2928 'MPointFromText',
2929 'PolyFromText',
2930 'MPolyFromText',
2932 'GeomCollFromWKB',
2933 'LineFromWKB',
2934 'MLineFromWKB',
2935 'PointFromWKB',
2936 'MPointFromWKB',
2937 'PolyFromWKB',
2938 'MPolyFromWKB',
2943 * Default functions for above defined groups
2945 * @global array $cfg['DefaultFunctions']
2947 $cfg['DefaultFunctions'] = array(
2948 'FUNC_CHAR' => '',
2949 'FUNC_DATE' => '',
2950 'FUNC_NUMBER' => '',
2951 'first_timestamp' => 'NOW',
2952 'pk_char36' => 'UUID',
2956 } // end if
2959 * Search operators
2961 * @global array $cfg['NumOperators']
2963 $cfg['NumOperators'] = array(
2964 '=',
2965 '>',
2966 '>=',
2967 '<',
2968 '<=',
2969 '!=',
2970 'LIKE',
2971 'NOT LIKE',
2975 * Search operators
2977 * @global array $cfg['TextOperators']
2979 $cfg['TextOperators'] = array(
2980 'LIKE',
2981 'LIKE %...%',
2982 'NOT LIKE',
2983 '=',
2984 '!=',
2985 'REGEXP',
2986 'NOT REGEXP',
2987 "= ''",
2988 "!= ''"
2992 * Search operators
2994 * @global array $cfg['EnumOperators']
2996 $cfg['EnumOperators'] = array(
2997 '=',
2998 '!=',
3002 * Search operators
3004 * @global array $cfg['SetOperators']
3006 $cfg['SetOperators'] = array(
3007 'IN',
3008 'NOT IN',
3012 * Search operators
3014 * @global array $cfg['NullOperators']
3016 $cfg['NullOperators'] = array(
3017 'IS NULL',
3018 'IS NOT NULL',
3022 * Search operators
3024 * @global array $cfg['UnaryOperators']
3026 $cfg['UnaryOperators'] = array(
3027 'IS NULL' => 1,
3028 'IS NOT NULL' => 1,
3029 "= ''" => 1,
3030 "!= ''" => 1