Conditional Ajax for db Structure and Tracking
[phpmyadmin-themes.git] / libraries / config.default.php
blobd7df77e492e75778c21d1fc4bfe186bd6ce5ce0a
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 * @package phpMyAdmin
22 /**
23 * Your phpMyAdmin URL.
25 * Complete the variable below with the full URL ie
26 * http://www.your_web.net/path_to_your_phpMyAdmin_directory/
28 * It must contain characters that are valid for a URL, and the path is
29 * case sensitive on some Web servers, for example Unix-based servers.
31 * In most cases you can leave this variable empty, as the correct value
32 * will be detected automatically. However, we recommend that you do
33 * test to see that the auto-detection code works in your system. A good
34 * test is to browse a table, then edit a row and save it. There will be
35 * an error message if phpMyAdmin cannot auto-detect the correct value.
37 * @global string $cfg['PmaAbsoluteUri']
39 $cfg['PmaAbsoluteUri'] = '';
41 /**
42 * Disable the default warning that is displayed on the DB Details Structure page if
43 * any of the required Tables for the configuration storage could not be found
45 * @global boolean $cfg['PmaNoRelation_DisableWarning']
47 $cfg['PmaNoRelation_DisableWarning'] = false;
49 /**
50 * Disable the default warning that is displayed if Suhosin is detected
52 * @global boolean $cfg['SuhosinDisableWarning']
54 $cfg['SuhosinDisableWarning'] = false;
56 /**
57 * Disable the default warning that is displayed if mcrypt is missing for
58 * cookie authentication.
60 * @global boolean $cfg['McryptDisableWarning']
62 $cfg['McryptDisableWarning'] = false;
64 /**
65 * Allows phpMyAdmin to be included from a document located on
66 * another domain; setting this to true is a potential security hole
68 * @global boolean $cfg['AllowThirdPartyFraming']
70 $cfg['AllowThirdPartyFraming'] = false;
72 /**
73 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
74 * at least one server configuration uses 'cookie' auth_type, enter here a
75 * pass phrase that will be used by blowfish. The maximum length seems to be 46
76 * characters.
78 * @global string $cfg['blowfish_secret']
80 $cfg['blowfish_secret'] = '';
83 /*******************************************************************************
84 * Server(s) configuration
86 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
87 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
88 * to ''. If you want more than one server, just copy following section
89 * (including $i incrementation) several times. There is no need to define
90 * full server array, just define values you need to change.
92 * @global array $cfg['Servers']
94 $cfg['Servers'] = array();
96 $i = 1;
98 /**
99 * MySQL hostname or IP address
101 * @global string $cfg['Servers'][$i]['host']
103 $cfg['Servers'][$i]['host'] = 'localhost';
106 * MySQL port - leave blank for default port
108 * @global string $cfg['Servers'][$i]['port']
110 $cfg['Servers'][$i]['port'] = '';
113 * Path to the socket - leave blank for default socket
115 * @global string $cfg['Servers'][$i]['socket']
117 $cfg['Servers'][$i]['socket'] = '';
120 * Use SSL for connecting to MySQL server?
122 * @global boolean $cfg['Servers'][$i]['ssl']
124 $cfg['Servers'][$i]['ssl'] = false;
127 * How to connect to MySQL server ('tcp' or 'socket')
129 * @global string $cfg['Servers'][$i]['connect_type']
131 $cfg['Servers'][$i]['connect_type'] = 'tcp';
134 * The PHP MySQL extension to use ('mysql' or 'mysqli')
136 * @global string $cfg['Servers'][$i]['extension']
138 $cfg['Servers'][$i]['extension'] = 'mysql';
141 * Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
143 * @global boolean $cfg['Servers'][$i]['compress']
145 $cfg['Servers'][$i]['compress'] = false;
148 * MySQL control user settings (this user must have read-only
149 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
150 * used for all relational features (pmadb)
152 * @global string $cfg['Servers'][$i]['controluser']
154 $cfg['Servers'][$i]['controluser'] = '';
157 * MySQL control user settings (this user must have read-only
158 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
159 * used for all relational features (pmadb)
161 * @global string $cfg['Servers'][$i]['controlpass']
163 $cfg['Servers'][$i]['controlpass'] = '';
166 * Authentication method (valid choices: config, http, signon or cookie)
168 * @global string $cfg['Servers'][$i]['auth_type']
170 $cfg['Servers'][$i]['auth_type'] = 'cookie';
173 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
175 * @global string $cfg['Servers'][$i]['auth_http_realm']
177 $cfg['Servers'][$i]['auth_http_realm'] = '';
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 * table to store user preferences
345 * - leave blank to disable server storage
346 * SUGGESTED: 'pma_userconfig'
348 * @global string $cfg['Servers'][$i]['userconfig']
350 $cfg['Servers'][$i]['userconfig'] = '';
353 * set to false if you know that your pma_* tables are up to date.
354 * This prevents compatibility checks and thereby increases performance.
356 * @global boolean $cfg['Servers'][$i]['verbose_check']
358 $cfg['Servers'][$i]['verbose_check'] = true;
361 * whether to allow root login
363 * @global boolean $cfg['Servers'][$i]['AllowRoot']
365 $cfg['Servers'][$i]['AllowRoot'] = true;
368 * whether to allow login of any user without a password
370 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
372 $cfg['Servers'][$i]['AllowNoPassword'] = false;
375 * Host authentication order, leave blank to not use
377 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
379 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
382 * Host authentication rules, leave blank for defaults
384 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
386 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
389 * Disable use of INFORMATION_SCHEMA
391 * @see http://sf.net/support/tracker.php?aid=1849494
392 * @see http://bugs.mysql.com/19588
393 * @global boolean $cfg['Servers'][$i]['DisableIS']
395 $cfg['Servers'][$i]['DisableIS'] = true;
398 * SQL command to fetch available databases
400 * by default most user will be fine with SHOW DATABASES,
401 * for servers with a huge amount of databases it is possible to
402 * define a command which executes faster but with less information
404 * especially when accessing database servers from ISPs changing this command
405 * can result in a great speed improvement
407 * false will disable fetching databases from the server, only databases in
408 * $cfg['Servers'][$i]['only_db'] will be displayed
410 * #user# will be replaced by current user
412 * examples:
413 * 'SHOW DATABASES'
414 * "SHOW DATABASES LIKE '#user#\_%'"
415 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
416 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
417 * false
419 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
421 $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
424 * Whether to count tables when showing database list
426 * @global array $cfg['Servers'][$i]['CountTables']
428 $cfg['Servers'][$i]['CountTables'] = false;
431 * Whether the tracking mechanism creates versions for tables and views automatically.
433 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
436 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
439 * Defines the list of statements the auto-creation uses for new versions.
441 * @global string $cfg['Servers'][$i]['tracking_default_statements']
444 $cfg['Servers'][$i]['tracking_default_statements'] = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,' .
445 'CREATE INDEX,DROP INDEX,' .
446 'INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,' .
447 'CREATE VIEW,ALTER VIEW,DROP VIEW,' .
448 'CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
451 * Whether a DROP VIEW IF EXISTS statement will be added as first line to the log when creating a view.
453 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
456 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
459 * Whether a DROP TABLE IF EXISTS statement will be added as first line to the log when creating a table.
461 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
464 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
467 * Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.
469 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
472 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
475 * Default server (0 = no default server)
477 * If you have more than one server configured, you can set $cfg['ServerDefault']
478 * to any one of them to auto-connect to that server when phpMyAdmin is started,
479 * or set it to 0 to be given a list of servers without logging in
480 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
481 * set to that server.
483 * @global integer $cfg['ServerDefault']
485 $cfg['ServerDefault'] = 1;
488 * Other core phpMyAdmin settings
491 * whether Ajax behavior is active
493 * @global boolean $cfg['AjaxEnable']
495 $cfg['AjaxEnable'] = true;
498 * maximum number of db's displayed in left frame and database list
500 * @global integer $cfg['MaxDbList']
502 $cfg['MaxDbList'] = 100;
505 * maximum number of tables displayed in table list
507 * @global integer $cfg['MaxTableList']
509 $cfg['MaxTableList'] = 250;
512 * maximum number of characters when a SQL query is displayed
514 * @global integer $cfg['MaxCharactersInDisplayedSQL']
516 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
519 * use GZIP output buffering if possible (true|false|'auto')
521 * @global string $cfg['OBGzip']
523 $cfg['OBGzip'] = 'auto';
526 * use persistent connections to MySQL database
528 * @global boolean $cfg['PersistentConnections']
530 $cfg['PersistentConnections'] = false;
533 * whether to force using HTTPS
535 * @global boolean $cfg['ForceSSL']
537 $cfg['ForceSSL'] = false;
540 * maximum execution time in seconds (0 for no limit)
542 * @global integer $cfg['ExecTimeLimit']
544 $cfg['ExecTimeLimit'] = 300;
547 * Path for storing session data (session_save_path PHP parameter).
549 * @global integer $cfg['SessionSavePath']
551 $cfg['SessionSavePath'] = '';
554 * maximum allocated bytes ('0' for no limit)
555 * this is a string because '16M' is a valid value; we must put here
556 * a string as the default value so that /setup accepts strings
558 * @global string $cfg['MemoryLimit']
560 $cfg['MemoryLimit'] = '0';
563 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
565 * @global boolean $cfg['SkipLockedTables']
567 $cfg['SkipLockedTables'] = false;
570 * show SQL queries as run
572 * @global boolean $cfg['ShowSQL']
574 $cfg['ShowSQL'] = true;
577 * show a 'Drop database' link to normal users
579 * @global boolean $cfg['AllowUserDropDatabase']
581 $cfg['AllowUserDropDatabase'] = false;
584 * confirm some commands that can result in loss of data
585 * (see "need_confirm" in the parser)
587 * @global boolean $cfg['Confirm']
589 $cfg['Confirm'] = true;
592 * recall previous login in cookie authentication mode or not
594 * @global boolean $cfg['LoginCookieRecall']
596 $cfg['LoginCookieRecall'] = true;
599 * validity of cookie login (in seconds; 1440 matches php.ini's
600 * session.gc_maxlifetime)
602 * @global integer $cfg['LoginCookieValidity']
604 $cfg['LoginCookieValidity'] = 1440;
607 * how long login cookie should be stored (in seconds)
609 * @global integer $cfg['LoginCookieStore']
611 $cfg['LoginCookieStore'] = 0;
614 * whether to delete all login cookies on logout
616 * @global boolean $cfg['LoginCookieDeleteAll']
618 $cfg['LoginCookieDeleteAll'] = true;
621 * whether to enable the "database search" feature or not
623 * @global boolean $cfg['UseDbSearch']
625 $cfg['UseDbSearch'] = true;
628 * if set to true, PMA continues computing multiple-statement queries
629 * even if one of the queries failed
631 * @global boolean $cfg['IgnoreMultiSubmitErrors']
633 $cfg['IgnoreMultiSubmitErrors'] = false;
636 * if set to true, PMA will show the affected rows of EACH statement on
637 * multiple-statement queries. See the libraries/import.php file for
638 * hard coded defaults on how many queries a statement may contain!
640 * @global boolean $cfg['VerboseMultiSubmit']
642 $cfg['VerboseMultiSubmit'] = true;
645 * allow login to any user entered server in cookie based authentication
647 * @global boolean $cfg['AllowArbitraryServer']
649 $cfg['AllowArbitraryServer'] = false;
652 /*******************************************************************************
653 * Error handler configuration
655 * this configures phpMyAdmin's own error handler, it is used to avoid information
656 * disclosure, gather errors for logging, reporting and displaying
658 * @global array $cfg['Error_Handler']
660 $cfg['Error_Handler'] = array();
663 * whether to display errors or not
665 * this does not affect errors of type E_USER_*
667 * @global boolean $cfg['Error_Handler']['display']
669 $cfg['Error_Handler']['display'] = false;
672 * (NOT IMPLEMENTED YET)
673 * where to log errors, false or empty to disable
675 * <code>
676 * // EXAMPLE log to std PHP error log
677 * $cfg['Error_Handler']['log'] = array(0);
678 * // EXAMPLE mail errors
679 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
680 * // EXAMPLE append to specific file
681 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
682 * </code>
684 * @see http://php.net/error_log
685 * @global string $cfg['Error_Handler']['log']
687 //$cfg['Error_Handler']['log'] = false;
690 * gather all errors in session to be displayed on a error reporting page
691 * for viewing and/or sending to phpMyAdmin developer team
693 * @global boolean $cfg['Error_Handler']['gather']
695 $cfg['Error_Handler']['gather'] = false;
698 /*******************************************************************************
699 * Left frame setup
703 * use a select-based menu and display only the current tables in the left frame.
705 * @global boolean $cfg['LeftFrameLight']
707 $cfg['LeftFrameLight'] = true;
710 * turn the select-based light menu into a tree
712 * @global boolean $cfg['LeftFrameDBTree']
714 $cfg['LeftFrameDBTree'] = true;
717 * the separator to sub-tree the select-based light menu tree
719 * @global string $cfg['LeftFrameDBSeparator']
721 $cfg['LeftFrameDBSeparator'] = '_';
724 * Which string will be used to generate table prefixes
725 * to split/nest tables into multiple categories
727 * @global string $cfg['LeftFrameTableSeparator']
729 $cfg['LeftFrameTableSeparator']= '__';
732 * How many sublevels should be displayed when splitting up tables by the above Separator
734 * @global integer $cfg['LeftFrameTableLevel']
736 $cfg['LeftFrameTableLevel'] = 1;
739 * display table comment as tooltip in left frame
741 * @global boolean $cfg['ShowTooltip']
743 $cfg['ShowTooltip'] = true;
746 * if ShowToolTip is enabled, this defines that table/db comments
748 * @global boolean $cfg['ShowTooltipAliasDB']
750 $cfg['ShowTooltipAliasDB'] = false;
753 * are shown (in the left menu and db_structure) instead of table/db names.
754 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
755 * descriptors, not the table itself.
757 * @global boolean $cfg['ShowTooltipAliasTB']
759 $cfg['ShowTooltipAliasTB'] = false;
762 * display logo at top of left frame
764 * @global boolean $cfg['LeftDisplayLogo']
766 $cfg['LeftDisplayLogo'] = true;
769 * where should logo link point to (can also contain an external URL)
771 * @global string $cfg['LeftLogoLink']
773 $cfg['LeftLogoLink'] = 'main.php';
776 * whether to open the linked page in the main window ('main') or
777 * in a new window ('new')
779 * @global string $cfg['LeftLogoLinkWindow']
781 $cfg['LeftLogoLinkWindow'] = 'main';
784 * display a JavaScript table filter in the left frame
785 * when more then x tables are present
787 * @global boolean $cfg['LeftDisplayTableFilterMinimum']
789 $cfg['LeftDisplayTableFilterMinimum'] = 30;
792 * display server choice at top of left frame
794 * @global boolean $cfg['LeftDisplayServers']
796 $cfg['LeftDisplayServers'] = false;
799 * server choice as links
801 * @global boolean $cfg['DisplayServersList']
803 $cfg['DisplayServersList'] = false;
806 * database choice in light as links
808 * @global boolean $cfg['DisplayDatabasesList']
810 $cfg['DisplayDatabasesList'] = 'auto';
813 * target of the navigation panel quick access icon
815 * Possible values:
816 * 'tbl_structure.php' = fields list
817 * 'tbl_sql.php' = SQL form
818 * 'tbl_select.php' = search page
819 * 'tbl_change.php' = insert row page
820 * 'sql.php' = browse page
822 * @global string $cfg['LeftDefaultTabTable']
824 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
827 /*******************************************************************************
828 * In the main frame, at startup...
832 * allow to display statistics and space usage in the pages about database
833 * details and table properties
835 * @global boolean $cfg['ShowStats']
837 $cfg['ShowStats'] = true;
840 * show PHP info link
842 * @global boolean $cfg['ShowPhpInfo']
844 $cfg['ShowPhpInfo'] = false;
847 * show MySQL server and web server information
849 * @global boolean $cfg['ShowServerInfo']
851 $cfg['ShowServerInfo'] = true;
854 * show change password link
856 * @global boolean $cfg['ShowChgPassword']
858 $cfg['ShowChgPassword'] = true;
861 * show create database form
863 * @global boolean $cfg['ShowCreateDb']
865 $cfg['ShowCreateDb'] = true;
868 * suggest a new DB name if possible (false = keep empty)
870 * @global boolean $cfg['SuggestDBName']
872 $cfg['SuggestDBName'] = true;
875 /*******************************************************************************
876 * In browse mode...
880 * Use icons instead of text for the navigation bar buttons
881 * and on right panel top menu (server db table) (true|false|'both')
883 * @global string $cfg['NavigationBarIconic']
885 $cfg['NavigationBarIconic'] = true;
888 * Defines whether a user should be displayed a "show all (records)"
889 * button in browse mode or not.
891 * @global boolean $cfg['ShowAll']
893 $cfg['ShowAll'] = false;
896 * Number of rows displayed when browsing a result set. If the result
897 * set contains more rows, "Previous" and "Next".
899 * @global integer $cfg['MaxRows']
901 $cfg['MaxRows'] = 30;
904 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
905 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
906 * ascending order else-)
908 * @global string $cfg['Order']
910 $cfg['Order'] = 'SMART';
913 * default for 'Show binary contents as HEX'
915 * @global string $cfg['DisplayBinaryAsHex']
917 $cfg['DisplayBinaryAsHex'] = true;
920 /*******************************************************************************
921 * In edit mode...
925 * disallow editing of binary fields
926 * valid values are:
927 * false allow editing
928 * 'blob' allow editing except for BLOB fields
929 * 'all' disallow editing
931 * @global string $cfg['ProtectBinary']
933 $cfg['ProtectBinary'] = 'blob';
936 * Display the function fields in edit/insert mode
938 * @global boolean $cfg['ShowFunctionFields']
940 $cfg['ShowFunctionFields'] = true;
943 * Display the type fields in edit/insert mode
945 * @global boolean $cfg['ShowFieldTypesInDataEditView']
947 $cfg['ShowFieldTypesInDataEditView'] = true;
950 * Which editor should be used for CHAR/VARCHAR fields:
951 * input - allows limiting of input length
952 * textarea - allows newlines in fields
954 * @global string $cfg['CharEditing']
956 $cfg['CharEditing'] = 'input';
959 * How many rows can be inserted at one time
961 * @global integer $cfg['InsertRows']
963 $cfg['InsertRows'] = 2;
966 * Sort order for items in a foreign-key drop-down list.
967 * 'content' is the referenced data, 'id' is the key value.
969 * @global array $cfg['ForeignKeyDropdownOrder']
971 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
974 * A drop-down list will be used if fewer items are present
976 * @global integer $cfg['ForeignKeyMaxLimit']
978 $cfg['ForeignKeyMaxLimit'] = 100;
981 /*******************************************************************************
982 * For the export features...
986 * Allow for the use of zip compression (requires zip support to be enabled)
988 * @global boolean $cfg['ZipDump']
990 $cfg['ZipDump'] = true;
993 * Allow for the use of gzip compression (requires zlib)
995 * @global boolean $cfg['GZipDump']
997 $cfg['GZipDump'] = true;
1000 * Allow for the use of bzip2 compression (requires bz2 extension)
1002 * @global boolean $cfg['BZipDump']
1004 $cfg['BZipDump'] = true;
1007 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
1008 * If you encounter problems with created gzip/bzip2 files disable this feature.
1010 * @global boolean $cfg['CompressOnFly']
1012 $cfg['CompressOnFly'] = true;
1015 /*******************************************************************************
1016 * Tabs display settings
1020 * Use graphically less intense menu tabs
1022 * @global boolean $cfg['LightTabs']
1024 $cfg['LightTabs'] = false;
1027 * Use icons instead of text for the table display of a database (true|false|'both')
1029 * @global boolean $cfg['PropertiesIconic']
1031 $cfg['PropertiesIconic'] = 'both';
1034 * How many columns should be used for table display of a database?
1035 * (a value larger than 1 results in some information being hidden)
1037 * @global integer $cfg['PropertiesNumColumns']
1039 $cfg['PropertiesNumColumns'] = 1;
1042 * Possible values:
1043 * 'main.php' = the welcome page
1044 * (recommended for multiuser setups)
1045 * 'server_databases.php' = list of databases
1046 * 'server_status.php' = runtime information
1047 * 'server_variables.php' = MySQL server variables
1048 * 'server_privileges.php' = user management
1049 * 'server_processlist.php' = process list
1051 * @global string $cfg['DefaultTabServer']
1053 $cfg['DefaultTabServer'] = 'main.php';
1056 * Possible values:
1057 * 'db_structure.php' = tables list
1058 * 'db_sql.php' = SQL form
1059 * 'db_search.php' = search query
1060 * 'db_operations.php' = operations on database
1062 * @global string $cfg['DefaultTabDatabase']
1064 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1067 * Possible values:
1068 * 'tbl_structure.php' = fields list
1069 * 'tbl_sql.php' = SQL form
1070 * 'tbl_select.php' = search page
1071 * 'tbl_change.php' = insert row page
1072 * 'sql.php' = browse page
1074 * @global string $cfg['DefaultTabTable']
1076 $cfg['DefaultTabTable'] = 'sql.php';
1078 /*******************************************************************************
1079 * Export defaults
1081 $cfg['Export'] = array();
1084 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1086 * @global string $cfg['Export']['format']
1088 $cfg['Export']['format'] = 'sql';
1091 * quick/custom/custom-no-form
1093 * @global string $cfg['Export']['format']
1095 $cfg['Export']['method'] = 'quick';
1098 * none/zip/gzip/bzip2
1100 * @global string $cfg['Export']['compression']
1102 $cfg['Export']['compression'] = 'none';
1107 * @global boolean $cfg['Export']['asfile']
1109 $cfg['Export']['asfile'] = true;
1114 * @global string $cfg['Export']['charset']
1116 $cfg['Export']['charset'] = '';
1121 * @global boolean $cfg['Export']['onserver']
1123 $cfg['Export']['onserver'] = false;
1128 * @global boolean $cfg['Export']['onserver_overwrite']
1130 $cfg['Export']['onserver_overwrite'] = false;
1135 * @global boolean $cfg['Export']['quick_export_onserver']
1137 $cfg['Export']['quick_export_onserver'] = false;
1142 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1144 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1149 * @global boolean $cfg['Export']['remember_file_template']
1151 $cfg['Export']['remember_file_template'] = true;
1156 * @global string $cfg['Export']['file_template_table']
1158 $cfg['Export']['file_template_table'] = '@TABLE@';
1163 * @global string $cfg['Export']['file_template_database']
1165 $cfg['Export']['file_template_database'] = '@DATABASE@';
1170 * @global string $cfg['Export']['file_template_server']
1172 $cfg['Export']['file_template_server'] = '@SERVER@';
1177 * @global string $cfg['Export']['codegen_structure_or_data']
1179 $cfg['Export']['codegen_structure_or_data'] = 'data';
1184 * @global $cfg['Export']['codegen_format']
1186 $cfg['Export']['codegen_format'] = 0;
1191 * @global boolean $cfg['Export']['ods_columns']
1193 $cfg['Export']['ods_columns'] = false;
1198 * @global string $cfg['Export']['ods_null']
1200 $cfg['Export']['ods_null'] = 'NULL';
1205 * @global string $cfg['Export']['odt_structure_or_data']
1207 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1212 * @global boolean $cfg['Export']['odt_columns']
1214 $cfg['Export']['odt_columns'] = true;
1219 * @global boolean $cfg['Export']['odt_relation']
1221 $cfg['Export']['odt_relation'] = true;
1226 * @global boolean $cfg['Export']['odt_comments']
1228 $cfg['Export']['odt_comments'] = true;
1233 * @global boolean $cfg['Export']['odt_mime']
1235 $cfg['Export']['odt_mime'] = true;
1240 * @global string $cfg['Export']['odt_null']
1242 $cfg['Export']['odt_null'] = 'NULL';
1247 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1249 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1254 * @global boolean $cfg['Export']['htmlword_columns']
1256 $cfg['Export']['htmlword_columns'] = false;
1261 * @global string $cfg['Export']['htmlword_null']
1263 $cfg['Export']['htmlword_null'] = 'NULL';
1268 * @global string $cfg['Export']['texytext_structure_or_data']
1270 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1275 * @global boolean $cfg['Export']['texytext_columns']
1277 $cfg['Export']['texytext_columns'] = FALSE;
1282 * @global string $cfg['Export']['texytext_null']
1284 $cfg['Export']['texytext_null'] = 'NULL';
1289 * @global boolean $cfg['Export']['xls_columns']
1291 $cfg['Export']['xls_columns'] = false;
1296 * @global string $cfg['Export']['xls_structure_or_data']
1298 $cfg['Export']['xls_structure_or_data'] = 'data';
1303 * @global string $cfg['Export']['xls_null']
1305 $cfg['Export']['xls_null'] = 'NULL';
1310 * @global boolean $cfg['Export']['xlsx_columns']
1312 $cfg['Export']['xlsx_columns'] = false;
1317 * @global string $cfg['Export']['xlsx_structure_or_data']
1319 $cfg['Export']['xlsx_structure_or_data'] = 'data';
1324 * @global string $cfg['Export']['xlsx_null']
1326 $cfg['Export']['xlsx_null'] = 'NULL';
1331 * @global boolean $cfg['Export']['csv_columns']
1333 $cfg['Export']['csv_columns'] = false;
1338 * @global string $cfg['Export']['csv_structure_or_data']
1340 $cfg['Export']['csv_structure_or_data'] = 'data';
1345 * @global string $cfg['Export']['csv_null']
1347 $cfg['Export']['csv_null'] = 'NULL';
1352 * @global string $cfg['Export']['csv_separator']
1354 $cfg['Export']['csv_separator'] = ',';
1359 * @global string $cfg['Export']['csv_enclosed']
1361 $cfg['Export']['csv_enclosed'] = '"';
1366 * @global string $cfg['Export']['csv_escaped']
1368 $cfg['Export']['csv_escaped'] = '\\';
1373 * @global string $cfg['Export']['csv_terminated']
1375 $cfg['Export']['csv_terminated'] = 'AUTO';
1380 * @global string $cfg['Export']['csv_removeCRLF']
1382 $cfg['Export']['csv_removeCRLF'] = false;
1387 * @global boolean $cfg['Export']['excel_columns']
1389 $cfg['Export']['excel_columns'] = false;
1394 * @global string $cfg['Export']['excel_null']
1396 $cfg['Export']['excel_null'] = 'NULL';
1399 * win/mac
1401 * @global string $cfg['Export']['excel_edition']
1403 $cfg['Export']['excel_edition'] = 'win';
1408 * @global string $cfg['Export']['excel_removeCRLF']
1410 $cfg['Export']['excel_removeCRLF'] = false;
1415 * @global string $cfg['Export']['excel_structure_or_data']
1417 $cfg['Export']['excel_structure_or_data'] = 'data';
1422 * @global string $cfg['Export']['latex_structure_or_data']
1424 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1429 * @global boolean $cfg['Export']['latex_columns']
1431 $cfg['Export']['latex_columns'] = true;
1436 * @global boolean $cfg['Export']['latex_relation']
1438 $cfg['Export']['latex_relation'] = true;
1443 * @global boolean $cfg['Export']['latex_comments']
1445 $cfg['Export']['latex_comments'] = true;
1450 * @global boolean $cfg['Export']['latex_mime']
1452 $cfg['Export']['latex_mime'] = true;
1457 * @global string $cfg['Export']['latex_null']
1459 $cfg['Export']['latex_null'] = '\textit{NULL}';
1464 * @global boolean $cfg['Export']['latex_caption']
1466 $cfg['Export']['latex_caption'] = true;
1471 * @global string $cfg['Export']['latex_structure_caption']
1473 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1478 * @global string $cfg['Export']['latex_structure_continued_caption']
1480 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1485 * @global string $cfg['Export']['latex_data_caption']
1487 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1492 * @global string $cfg['Export']['latex_data_continued_caption']
1494 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1499 * @global string $cfg['Export']['latex_data_label']
1501 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1506 * @global string $cfg['Export']['latex_structure_label']
1508 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1513 * @global string $cfg['Export']['mediawiki_structure_or_data']
1515 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1520 * @global string $cfg['Export']['ods_structure_or_data']
1522 $cfg['Export']['ods_structure_or_data'] = 'data';
1527 * @global string $cfg['Export']['pdf_structure_or_data']
1529 $cfg['Export']['pdf_structure_or_data'] = 'data';
1534 * @global string $cfg['Export']['php_array_structure_or_data']
1536 $cfg['Export']['php_array_structure_or_data'] = 'data';
1541 * @global string $cfg['Export']['json_structure_or_data']
1543 $cfg['Export']['json_structure_or_data'] = 'data';
1548 * @global string $cfg['Export']['sql_structure_or_data']
1550 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1555 * @global string $cfg['Export']['sql_compatibility']
1557 $cfg['Export']['sql_compatibility'] = 'NONE';
1560 * Whether to include comments in SQL export.
1562 * @global string $cfg['Export']['sql_include_comments']
1564 $cfg['Export']['sql_include_comments'] = true;
1569 * @global boolean $cfg['Export']['sql_disable_fk']
1571 $cfg['Export']['sql_disable_fk'] = false;
1576 * @global boolean $cfg['Export']['sql_use_transaction']
1578 $cfg['Export']['sql_use_transaction'] = false;
1583 * @global boolean $cfg['Export']['sql_drop_database']
1585 $cfg['Export']['sql_drop_database'] = false;
1590 * @global boolean $cfg['Export']['sql_drop_table']
1592 $cfg['Export']['sql_drop_table'] = false;
1597 * true by default for correct behavior when dealing with exporting
1598 * of VIEWs and the stand-in table
1599 * @global boolean $cfg['Export']['sql_if_not_exists']
1601 $cfg['Export']['sql_if_not_exists'] = true;
1606 * @global boolean $cfg['Export']['sql_procedure_function']
1608 $cfg['Export']['sql_procedure_function'] = true;
1613 * @global boolean $cfg['Export']['sql_auto_increment']
1615 $cfg['Export']['sql_auto_increment'] = true;
1620 * @global boolean $cfg['Export']['sql_backquotes']
1622 $cfg['Export']['sql_backquotes'] = true;
1627 * @global boolean $cfg['Export']['sql_dates']
1629 $cfg['Export']['sql_dates'] = false;
1634 * @global boolean $cfg['Export']['sql_relation']
1636 $cfg['Export']['sql_relation'] = false;
1641 * @global boolean $cfg['Export']['sql_delayed']
1643 $cfg['Export']['sql_delayed'] = false;
1648 * @global boolean $cfg['Export']['sql_ignore']
1650 $cfg['Export']['sql_ignore'] = false;
1653 * Export time in UTC.
1655 * @global boolean $cfg['Export']['sql_utc_time']
1657 $cfg['Export']['sql_utc_time'] = true;
1662 * @global boolean $cfg['Export']['sql_hex_for_blob']
1664 $cfg['Export']['sql_hex_for_blob'] = true;
1667 * insert/update/replace
1669 * @global string $cfg['Export']['sql_type']
1671 $cfg['Export']['sql_type'] = 'INSERT';
1676 * @global integer $cfg['Export']['sql_max_query_size']
1678 $cfg['Export']['sql_max_query_size'] = 50000;
1683 * @global boolean $cfg['Export']['sql_comments']
1685 $cfg['Export']['sql_comments'] = false;
1690 * @global boolean $cfg['Export']['sql_mime']
1692 $cfg['Export']['sql_mime'] = false;
1695 * \n is replaced by new line
1697 * @global string $cfg['Export']['sql_header_comment']
1699 $cfg['Export']['sql_header_comment'] = '';
1704 * @global boolean $cfg['Export']['sql_create_table_statements']
1706 $cfg['Export']['sql_create_table_statements'] = true;
1709 * Whether to use complete inserts, extended inserts, both, or neither
1711 * @global string $cfg['Export']['sql_insert_syntax']
1713 $cfg['Export']['sql_insert_syntax'] = 'both';
1718 * @global string $cfg['Export']['pdf_report_title']
1720 $cfg['Export']['pdf_report_title'] = '';
1725 *@global string $cfg['Export']['xml_structure_or_data']
1727 $cfg['Export']['xml_structure_or_data'] = 'data';
1730 * Export schema for each structure
1732 * @global string $cfg['Export']['xml_export_struc']
1734 $cfg['Export']['xml_export_struc'] = true;
1737 * Export functions
1739 * @global string $cfg['Export']['xml_export_functions']
1741 $cfg['Export']['xml_export_functions'] = true;
1744 * Export procedures
1746 * @global string $cfg['Export']['xml_export_procedures']
1748 $cfg['Export']['xml_export_procedures'] = true;
1751 * Export schema for each table
1753 * @global string $cfg['Export']['xml_export_tables']
1755 $cfg['Export']['xml_export_tables'] = true;
1758 * Export triggers
1760 * @global string $cfg['Export']['xml_export_triggers']
1762 $cfg['Export']['xml_export_triggers'] = true;
1765 * Export views
1767 * @global string $cfg['Export']['xml_export_views']
1769 $cfg['Export']['xml_export_views'] = true;
1772 * Export contents data
1774 * @global string $cfg['Export']['xml_export_contents']
1776 $cfg['Export']['xml_export_contents'] = true;
1781 * @global string $cfg['Export']['yaml_structure_or_data']
1783 $cfg['Export']['yaml_structure_or_data'] = 'data';
1785 /*******************************************************************************
1786 * Import defaults
1788 $cfg['Import'] = array();
1793 * @global string $cfg['Import']['format']
1795 $cfg['Import']['format'] = 'sql';
1798 * Default charset for import.
1800 * @global string $cfg['Import']['charset']
1802 $cfg['Import']['charset'] = '';
1807 * @global boolean $cfg['Import']['allow_interrupt']
1809 $cfg['Import']['allow_interrupt'] = true;
1814 * @global integer $cfg['Import']['skip_queries']
1816 $cfg['Import']['skip_queries'] = 0;
1821 * @global string $cfg['Import']['sql_compatibility']
1823 $cfg['Import']['sql_compatibility'] = 'NONE';
1828 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
1830 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
1835 * @global boolean $cfg['Import']['csv_replace']
1837 $cfg['Import']['csv_replace'] = false;
1842 * @global boolean $cfg['Import']['csv_ignore']
1844 $cfg['Import']['csv_ignore'] = false;
1849 * @global string $cfg['Import']['csv_terminated']
1851 $cfg['Import']['csv_terminated'] = ',';
1856 * @global string $cfg['Import']['csv_enclosed']
1858 $cfg['Import']['csv_enclosed'] = '"';
1863 * @global string $cfg['Import']['csv_escaped']
1865 $cfg['Import']['csv_escaped'] = '\\';
1870 * @global string $cfg['Import']['csv_new_line']
1872 $cfg['Import']['csv_new_line'] = 'auto';
1877 * @global string $cfg['Import']['csv_columns']
1879 $cfg['Import']['csv_columns'] = '';
1884 * @global string $cfg['Import']['csv_col_names']
1886 $cfg['Import']['csv_col_names'] = false;
1891 * @global boolean $cfg['Import']['ldi_replace']
1893 $cfg['Import']['ldi_replace'] = false;
1898 * @global boolean $cfg['Import']['ldi_ignore']
1900 $cfg['Import']['ldi_ignore'] = false;
1905 * @global string $cfg['Import']['ldi_terminated']
1907 $cfg['Import']['ldi_terminated'] = ';';
1912 * @global string $cfg['Import']['ldi_enclosed']
1914 $cfg['Import']['ldi_enclosed'] = '"';
1919 * @global string $cfg['Import']['ldi_escaped']
1921 $cfg['Import']['ldi_escaped'] = '\\';
1926 * @global string $cfg['Import']['ldi_new_line']
1928 $cfg['Import']['ldi_new_line'] = 'auto';
1933 * @global string $cfg['Import']['ldi_columns']
1935 $cfg['Import']['ldi_columns'] = '';
1938 * 'auto' for auto-detection, true or false for forcing
1940 * @global string $cfg['Import']['ldi_local_option']
1942 $cfg['Import']['ldi_local_option'] = 'auto';
1947 * @global string $cfg['Import']['ods_col_names']
1949 $cfg['Import']['ods_col_names'] = false;
1954 * @global string $cfg['Import']['ods_empty_rows']
1956 $cfg['Import']['ods_empty_rows'] = true;
1961 * @global string $cfg['Import']['ods_recognize_percentages']
1963 $cfg['Import']['ods_recognize_percentages'] = true;
1968 * @global string $cfg['Import']['ods_recognize_currency']
1970 $cfg['Import']['ods_recognize_currency'] = true;
1975 * @global string $cfg['Import']['xml_col_names']
1977 $cfg['Import']['xls_col_names'] = false;
1982 * @global string $cfg['Import']['xml_empty_rows']
1984 $cfg['Import']['xls_empty_rows'] = true;
1989 * @global string $cfg['Import']['xlsx_col_names']
1991 $cfg['Import']['xlsx_col_names'] = false;
1994 * Link to the official MySQL documentation.
1995 * Be sure to include no trailing slash on the path.
1996 * See http://dev.mysql.com/doc/ for more information
1997 * about MySQL manuals and their types.
1999 * @global string $cfg['MySQLManualBase']
2001 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
2004 * Type of MySQL documentation:
2005 * viewable - "viewable online", current one used on MySQL website
2006 * searchable - "Searchable, with user comments"
2007 * chapters - "HTML, one page per chapter"
2008 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
2009 * big - "HTML, all on one page"
2010 * old - old style used in phpMyAdmin 2.3.0 and sooner
2011 * none - do not show documentation links
2013 * @global string $cfg['MySQLManualType']
2015 $cfg['MySQLManualType'] = 'viewable';
2018 /*******************************************************************************
2019 * PDF options
2025 * @global array $cfg['PDFPageSizes']
2027 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2032 * @global string $cfg['PDFDefaultPageSize']
2034 $cfg['PDFDefaultPageSize'] = 'A4';
2037 /*******************************************************************************
2038 * Language and character set conversion settings
2042 * Default language to use, if not browser-defined or user-defined
2044 * @global string $cfg['DefaultLang']
2046 $cfg['DefaultLang'] = 'en';
2049 * Default connection collation
2051 * @global string $cfg['DefaultConnectionCollation']
2053 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
2056 * Force: always use this language
2057 * $cfg['Lang'] = 'en';
2059 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2060 * English only
2062 * @global string $cfg['FilterLanguages']
2064 $cfg['FilterLanguages'] = '';
2067 * You can select here which functions will be used for character set conversion.
2068 * Possible values are:
2069 * auto - automatically use available one (first is tested iconv, then
2070 * recode)
2071 * iconv - use iconv or libiconv functions
2072 * recode - use recode_string function
2073 * none - disable encoding conversion
2075 * @global string $cfg['RecodingEngine']
2077 $cfg['RecodingEngine'] = 'auto';
2080 * Specify some parameters for iconv used in character set conversion. See iconv
2081 * documentation for details:
2082 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2084 * @global string $cfg['IconvExtraParams']
2086 $cfg['IconvExtraParams'] = '//TRANSLIT';
2089 * Available character sets for MySQL conversion. currently contains all which could
2090 * be found in lang/* files and few more.
2091 * Character sets will be shown in same order as here listed, so if you frequently
2092 * use some of these move them to the top.
2094 * @global array $cfg['AvailableCharsets']
2096 $cfg['AvailableCharsets'] = array(
2097 'iso-8859-1',
2098 'iso-8859-2',
2099 'iso-8859-3',
2100 'iso-8859-4',
2101 'iso-8859-5',
2102 'iso-8859-6',
2103 'iso-8859-7',
2104 'iso-8859-8',
2105 'iso-8859-9',
2106 'iso-8859-10',
2107 'iso-8859-11',
2108 'iso-8859-12',
2109 'iso-8859-13',
2110 'iso-8859-14',
2111 'iso-8859-15',
2112 'windows-1250',
2113 'windows-1251',
2114 'windows-1252',
2115 'windows-1256',
2116 'windows-1257',
2117 'koi8-r',
2118 'big5',
2119 'gb2312',
2120 'utf-16',
2121 'utf-8',
2122 'utf-7',
2123 'x-user-defined',
2124 'euc-jp',
2125 'ks_c_5601-1987',
2126 'tis-620',
2127 'SHIFT_JIS'
2131 /*******************************************************************************
2132 * Customization & design
2134 * The graphical settings are now located in themes/theme-name/layout.inc.php
2138 * enable the left panel pointer
2139 * (used when LeftFrameLight is false)
2140 * see also LeftPointerColor
2141 * in layout.inc.php
2143 * @global boolean $cfg['LeftPointerEnable']
2145 $cfg['LeftPointerEnable'] = true;
2148 * enable the browse pointer
2149 * see also BrowsePointerColor
2150 * in layout.inc.php
2152 * @global boolean $cfg['BrowsePointerEnable']
2154 $cfg['BrowsePointerEnable'] = true;
2157 * enable the browse marker
2158 * see also BrowseMarkerColor
2159 * in layout.inc.php
2161 * @global boolean $cfg['BrowseMarkerEnable']
2163 $cfg['BrowseMarkerEnable'] = true;
2166 * textarea size (columns) in edit mode
2167 * (this value will be emphasized (*2) for SQL
2168 * query textareas and (*1.25) for query window)
2170 * @global integer $cfg['TextareaCols']
2172 $cfg['TextareaCols'] = 40;
2175 * textarea size (rows) in edit mode
2177 * @global integer $cfg['TextareaRows']
2179 $cfg['TextareaRows'] = 15;
2182 * double size of textarea size for LONGTEXT columns
2184 * @global boolean $cfg['LongtextDoubleTextarea']
2186 $cfg['LongtextDoubleTextarea'] = true;
2189 * auto-select when clicking in the textarea of the query-box
2191 * @global boolean $cfg['TextareaAutoSelect']
2193 $cfg['TextareaAutoSelect'] = false;
2196 * textarea size (columns) for CHAR/VARCHAR
2198 * @global integer $cfg['CharTextareaCols']
2200 $cfg['CharTextareaCols'] = 40;
2203 * textarea size (rows) for CHAR/VARCHAR
2205 * @global integer $cfg['CharTextareaRows']
2207 $cfg['CharTextareaRows'] = 2;
2210 * Max field data length in browse mode for all non-numeric fields
2212 * @global integer $cfg['LimitChars']
2214 $cfg['LimitChars'] = 50;
2217 * show edit/delete links on left side of browse
2218 * (or at the top with vertical browse)
2220 * @global boolean $cfg['ModifyDeleteAtLeft']
2222 $cfg['ModifyDeleteAtLeft'] = true;
2225 * show edit/delete links on right side of browse
2226 * (or at the bottom with vertical browse)
2228 * @global boolean $cfg['ModifyDeleteAtRight']
2230 $cfg['ModifyDeleteAtRight'] = false;
2233 * default display direction (horizontal|vertical|horizontalflipped)
2235 * @global string $cfg['DefaultDisplay']
2237 $cfg['DefaultDisplay'] = 'horizontal';
2240 * default display direction for altering/creating columns (tbl_properties)
2241 * (horizontal|vertical|<number>)
2242 * number indicates maximum number for which vertical model is used
2244 * @global integer $cfg['DefaultPropDisplay']
2246 $cfg['DefaultPropDisplay'] = 3;
2249 * table-header rotation via faking or CSS? (css|fake|auto)
2250 * NOTE: CSS only works in IE browsers!
2252 * @global string $cfg['HeaderFlipType']
2254 $cfg['HeaderFlipType'] = 'auto';
2257 * shows stored relation-comments in 'browse' mode.
2259 * @global boolean $cfg['ShowBrowseComments']
2261 $cfg['ShowBrowseComments'] = true;
2264 * shows stored relation-comments in 'table property' mode.
2266 * @global boolean $cfg['ShowPropertyComments']
2268 $cfg['ShowPropertyComments']= true;
2271 * repeat header names every X cells? (0 = deactivate)
2273 * @global integer $cfg['RepeatCells']
2275 $cfg['RepeatCells'] = 100;
2278 * Set to true if Edit link should open the query to edit in the query window
2279 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
2281 * @global boolean $cfg['EditInWindow']
2283 $cfg['EditInWindow'] = true;
2286 * Width of Query window
2288 * @global integer $cfg['QueryWindowWidth']
2290 $cfg['QueryWindowWidth'] = 550;
2293 * Height of Query window
2295 * @global integer $cfg['QueryWindowHeight']
2297 $cfg['QueryWindowHeight'] = 310;
2300 * Set to true if you want DB-based query history.If false, this utilizes
2301 * JS-routines to display query history (lost by window close)
2303 * @global boolean $cfg['QueryHistoryDB']
2305 $cfg['QueryHistoryDB'] = false;
2308 * which tab to display in the querywindow on startup
2309 * (sql|files|history|full)
2311 * @global string $cfg['QueryWindowDefTab']
2313 $cfg['QueryWindowDefTab'] = 'sql';
2316 * When using DB-based query history, how many entries should be kept?
2318 * @global integer $cfg['QueryHistoryMax']
2320 $cfg['QueryHistoryMax'] = 25;
2323 * Use MIME-Types (stored in column comments table) for
2325 * @global boolean $cfg['BrowseMIME']
2327 $cfg['BrowseMIME'] = true;
2330 * When approximate count < this, PMA will get exact count for table rows.
2332 * @global integer $cfg['MaxExactCount']
2334 $cfg['MaxExactCount'] = 20000;
2337 * Zero means that no row count is done for views; see the doc
2339 * @global integer $cfg['MaxExactCountViews']
2341 $cfg['MaxExactCountViews'] = 0;
2344 * Sort table and database in natural order
2346 * @global boolean $cfg['NaturalOrder']
2348 $cfg['NaturalOrder'] = true;
2351 * Initial state for sliders
2352 * (open | closed)
2354 * @global string $cfg['InitialSlidersState']
2356 $cfg['InitialSlidersState'] = 'closed';
2359 * User preferences: disallow these settings
2360 * For possible setting names look in libraries/config/user_preferences.forms.php
2362 * @global array $cfg['UserprefsDisallow']
2364 $cfg['UserprefsDisallow'] = array();
2367 * User preferences: enable the Developer tab
2369 $cfg['UserprefsDeveloperTab'] = false;
2371 /*******************************************************************************
2372 * Window title settings
2376 * title of browser window when a table is selected
2378 * @global string $cfg['TitleTable']
2380 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2383 * title of browser window when a database is selected
2385 * @global string $cfg['TitleDatabase']
2387 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2390 * title of browser window when a server is selected
2392 * @global string $cfg['TitleServer']
2394 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2397 * title of browser window when nothing is selected
2398 * @global string $cfg['TitleDefault']
2400 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2403 * show some icons for warning, error and information messages (true|false)?
2405 * @global boolean $cfg['ErrorIconic']
2407 $cfg['ErrorIconic'] = true;
2410 * show icons in list on main page and on menu tabs (true|false)?
2412 * @global boolean $cfg['MainPageIconic']
2414 $cfg['MainPageIconic'] = true;
2417 * show help button instead of Documentation text (true|false)?
2419 * @global boolean $cfg['ReplaceHelpImg']
2421 $cfg['ReplaceHelpImg'] = true;
2424 /*******************************************************************************
2425 * theme manager
2429 * using themes manager please set up here the path to 'themes' else leave empty
2431 * @global string $cfg['ThemePath']
2433 $cfg['ThemePath'] = './themes';
2436 * if you want to use selectable themes and if ThemesPath not empty
2437 * set it to true, else set it to false (default is false);
2439 * @global boolean $cfg['ThemeManager']
2441 $cfg['ThemeManager'] = true;
2444 * set up default theme, if ThemePath not empty you can set up here an valid
2445 * path to themes or 'original' for the original pma-theme
2447 * @global string $cfg['ThemeDefault']
2449 $cfg['ThemeDefault'] = 'original';
2452 * allow different theme for each configured server
2454 * @global boolean $cfg['ThemePerServer']
2456 $cfg['ThemePerServer'] = false;
2459 /*******************************************************************************
2464 * Default query for table
2466 * @global string $cfg['DefaultQueryTable']
2468 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2471 * Default query for database
2473 * @global string $cfg['DefaultQueryDatabase']
2475 $cfg['DefaultQueryDatabase'] = '';
2478 /*******************************************************************************
2479 * SQL Query box settings
2480 * These are the links display in all of the SQL Query boxes
2482 * @global array $cfg['SQLQuery']
2484 $cfg['SQLQuery'] = array();
2487 * Edit link to change a query
2489 * @global boolean $cfg['SQLQuery']['Edit']
2491 $cfg['SQLQuery']['Edit'] = true;
2494 * EXPLAIN on SELECT queries
2496 * @global boolean $cfg['SQLQuery']['Explain']
2498 $cfg['SQLQuery']['Explain'] = true;
2501 * Wrap a query in PHP
2503 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2505 $cfg['SQLQuery']['ShowAsPHP'] = true;
2508 * Validate a query (see $cfg['SQLValidator'] as well)
2510 * @global boolean $cfg['SQLQuery']['Validate']
2512 $cfg['SQLQuery']['Validate'] = false;
2515 * Refresh the results page
2517 * @global boolean $cfg['SQLQuery']['Refresh']
2519 $cfg['SQLQuery']['Refresh'] = true;
2522 /*******************************************************************************
2523 * Web server upload/save/import directories
2527 * Directory for uploaded files that can be executed by phpMyAdmin.
2528 * For example './upload'. Leave empty for no upload directory support.
2529 * Use %u for username inclusion.
2531 * @global string $cfg['UploadDir']
2533 $cfg['UploadDir'] = '';
2536 * Directory where phpMyAdmin can save exported data on server.
2537 * For example './save'. Leave empty for no save directory support.
2538 * Use %u for username inclusion.
2540 * @global string $cfg['SaveDir']
2542 $cfg['SaveDir'] = '';
2545 * Directory where phpMyAdmin can save temporary files.
2546 * This is needed for MS Excel export, see documentation how to enable that.
2548 * @global string $cfg['TempDir']
2550 $cfg['TempDir'] = '';
2554 * Misc. settings
2558 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2559 * which is the only safe way to determine GD version.
2561 * @global string $cfg['GD2Available']
2563 $cfg['GD2Available'] = 'auto';
2566 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2568 * @global array $cfg['TrustedProxies']
2570 $cfg['TrustedProxies'] = array();
2573 * We normally check the permissions on the configuration file to ensure
2574 * it's not world writable. However, phpMyAdmin could be installed on
2575 * a NTFS filesystem mounted on a non-Windows server, in which case the
2576 * permissions seems wrong but in fact cannot be detected. In this case
2577 * a sysadmin would set the following to false.
2579 $cfg['CheckConfigurationPermissions'] = true;
2582 * Limit for length of URL in links. When length would be above this limit, it
2583 * is replaced by form with button.
2584 * This is required as some web servers (IIS) have problems with long URLs.
2586 $cfg['LinkLengthLimit'] = 1000;
2588 /*******************************************************************************
2589 * SQL Parser Settings
2591 * @global array $cfg['SQP']
2593 $cfg['SQP'] = array();
2596 * Pretty-printing style to use on queries (html, text, none)
2598 * @global string $cfg['SQP']['fmtType']
2600 $cfg['SQP']['fmtType'] = 'html';
2603 * Amount to indent each level (floats are valid)
2605 * @global integer $cfg['SQP']['fmtInd']
2607 $cfg['SQP']['fmtInd'] = '1';
2610 * Units for indenting each level (CSS Types - {em, px, pt})
2612 * @global string $cfg['SQP']['fmtIndUnit']
2614 $cfg['SQP']['fmtIndUnit'] = 'em';
2617 /*******************************************************************************
2618 * If you wish to use the SQL Validator service, you should be aware of the
2619 * following:
2620 * All SQL statements are stored anonymously for statistical purposes.
2621 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2622 * All rights reserved.
2624 * @global array $cfg['SQLValidator']
2626 $cfg['SQLValidator'] = array();
2629 * Make the SQL Validator available
2631 * @global boolean $cfg['SQLValidator']['use']
2633 $cfg['SQLValidator']['use'] = false;
2636 * If you have a custom username, specify it here (defaults to anonymous)
2638 * @global string $cfg['SQLValidator']['username']
2640 $cfg['SQLValidator']['username'] = '';
2643 * Password for username
2645 * @global string $cfg['SQLValidator']['password']
2647 $cfg['SQLValidator']['password'] = '';
2650 /*******************************************************************************
2651 * Developers ONLY!
2653 * @global array $cfg['DBG']
2655 $cfg['DBG'] = array();
2658 * Output executed queries and their execution times
2660 * @global boolean $cfg['DBG']['sql']
2662 $cfg['DBG']['sql'] = false;
2665 /*******************************************************************************
2666 * MySQL settings
2670 * Column types;
2671 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2673 * @global array $cfg['ColumnTypes']
2675 $cfg['ColumnTypes'] = array(
2676 // most used
2677 'INT',
2678 'VARCHAR',
2679 'TEXT',
2680 'DATE',
2682 // numeric
2683 'NUMERIC' => array(
2684 'TINYINT',
2685 'SMALLINT',
2686 'MEDIUMINT',
2687 'INT',
2688 'BIGINT',
2689 '-',
2690 'DECIMAL',
2691 'FLOAT',
2692 'DOUBLE',
2693 'REAL',
2694 '-',
2695 'BIT',
2696 'BOOLEAN',
2697 'SERIAL',
2701 // Date/Time
2702 'DATE and TIME' => array(
2703 'DATE',
2704 'DATETIME',
2705 'TIMESTAMP',
2706 'TIME',
2707 'YEAR',
2710 // Text
2711 'STRING' => array(
2712 'CHAR',
2713 'VARCHAR',
2714 '-',
2715 'TINYTEXT',
2716 'TEXT',
2717 'MEDIUMTEXT',
2718 'LONGTEXT',
2719 '-',
2720 'BINARY',
2721 'VARBINARY',
2722 '-',
2723 'TINYBLOB',
2724 'MEDIUMBLOB',
2725 'BLOB',
2726 'LONGBLOB',
2727 '-',
2728 'ENUM',
2729 'SET',
2732 'SPATIAL' => array(
2733 'GEOMETRY',
2734 'POINT',
2735 'LINESTRING',
2736 'POLYGON',
2737 'MULTIPOINT',
2738 'MULTILINESTRING',
2739 'MULTIPOLYGON',
2740 'GEOMETRYCOLLECTION',
2745 * Attributes
2747 * @global array $cfg['AttributeTypes']
2749 $cfg['AttributeTypes'] = array(
2751 'BINARY',
2752 'UNSIGNED',
2753 'UNSIGNED ZEROFILL',
2754 'on update CURRENT_TIMESTAMP',
2758 if ($cfg['ShowFunctionFields']) {
2760 * Available functions
2762 * @global array $cfg['Functions']
2764 $cfg['Functions'] = array(
2765 'ABS',
2766 'ACOS',
2767 'ASCII',
2768 'ASIN',
2769 'ATAN',
2770 'BIN',
2771 'BIT_COUNT',
2772 'BIT_LENGTH',
2773 'CEILING',
2774 'CHAR',
2775 'CHAR_LENGTH',
2776 'COMPRESS',
2777 'COS',
2778 'COT',
2779 'CRC32',
2780 'CURDATE',
2781 'CURRENT_USER',
2782 'CURTIME',
2783 'DATE',
2784 'DAYNAME',
2785 'DEGREES',
2786 'DES_DECRYPT',
2787 'DES_ENCRYPT',
2788 'ENCRYPT',
2789 'EXP',
2790 'FLOOR',
2791 'FROM_DAYS',
2792 'FROM_UNIXTIME',
2793 'HEX',
2794 'INET_ATON',
2795 'INET_NTOA',
2796 'LENGTH',
2797 'LN',
2798 'LOG',
2799 'LOG10',
2800 'LOG2',
2801 'LOWER',
2802 'MD5',
2803 'NOW',
2804 'OCT',
2805 'OLD_PASSWORD',
2806 'ORD',
2807 'PASSWORD',
2808 'RADIANS',
2809 'RAND',
2810 'REVERSE',
2811 'ROUND',
2812 'SEC_TO_TIME',
2813 'SHA1',
2814 'SOUNDEX',
2815 'SPACE',
2816 'SQRT',
2817 'STDDEV_POP',
2818 'STDDEV_SAMP',
2819 'TAN',
2820 'TIMESTAMP',
2821 'TIME_TO_SEC',
2822 'UNCOMPRESS',
2823 'UNHEX',
2824 'UNIX_TIMESTAMP',
2825 'UPPER',
2826 'USER',
2827 'UTC_DATE',
2828 'UTC_TIME',
2829 'UTC_TIMESTAMP',
2830 'UUID',
2831 'VAR_POP',
2832 'VAR_SAMP',
2833 'YEAR',
2837 * Which column types will be mapped to which Group?
2839 * @global array $cfg['RestrictColumnTypes']
2841 $cfg['RestrictColumnTypes'] = array(
2842 'TINYINT' => 'FUNC_NUMBER',
2843 'SMALLINT' => 'FUNC_NUMBER',
2844 'MEDIUMINT' => 'FUNC_NUMBER',
2845 'INT' => 'FUNC_NUMBER',
2846 'BIGINT' => 'FUNC_NUMBER',
2847 'DECIMAL' => 'FUNC_NUMBER',
2848 'FLOAT' => 'FUNC_NUMBER',
2849 'DOUBLE' => 'FUNC_NUMBER',
2850 'REAL' => 'FUNC_NUMBER',
2851 'BIT' => 'FUNC_NUMBER',
2852 'BOOLEAN' => 'FUNC_NUMBER',
2853 'SERIAL' => 'FUNC_NUMBER',
2855 'DATE' => 'FUNC_DATE',
2856 'DATETIME' => 'FUNC_DATE',
2857 'TIMESTAMP' => 'FUNC_DATE',
2858 'TIME' => 'FUNC_DATE',
2859 'YEAR' => 'FUNC_DATE',
2861 'CHAR' => 'FUNC_CHAR',
2862 'VARCHAR' => 'FUNC_CHAR',
2863 'TINYTEXT' => 'FUNC_CHAR',
2864 'TEXT' => 'FUNC_CHAR',
2865 'MEDIUMTEXT' => 'FUNC_CHAR',
2866 'LONGTEXT' => 'FUNC_CHAR',
2867 'BINARY' => 'FUNC_CHAR',
2868 'VARBINARY' => 'FUNC_CHAR',
2869 'TINYBLOB' => 'FUNC_CHAR',
2870 'MEDIUMBLOB' => 'FUNC_CHAR',
2871 'BLOB' => 'FUNC_CHAR',
2872 'LONGBLOB' => 'FUNC_CHAR',
2873 'ENUM' => '',
2874 'SET' => '',
2876 'GEOMETRY' => 'FUNC_SPATIAL',
2877 'POINT' => 'FUNC_SPATIAL',
2878 'LINESTRING' => 'FUNC_SPATIAL',
2879 'POLYGON' => 'FUNC_SPATIAL',
2880 'MULTIPOINT' => 'FUNC_SPATIAL',
2881 'MULTILINESTRING' => 'FUNC_SPATIAL',
2882 'MULTIPOLYGON' => 'FUNC_SPATIAL',
2883 'GEOMETRYCOLLECTION' => 'FUNC_SPATIAL',
2888 * Map above defined groups to any function
2890 * @global array $cfg['RestrictFunctions']
2892 $cfg['RestrictFunctions'] = array(
2893 'FUNC_CHAR' => array(
2894 'BIN',
2895 'CHAR',
2896 'CURRENT_USER',
2897 'COMPRESS',
2898 'DAYNAME',
2899 'DES_DECRYPT',
2900 'DES_ENCRYPT',
2901 'ENCRYPT',
2902 'HEX',
2903 'INET_NTOA',
2904 'LOWER',
2905 'MD5',
2906 'OLD_PASSWORD',
2907 'PASSWORD',
2908 'REVERSE',
2909 'SHA1',
2910 'SOUNDEX',
2911 'SPACE',
2912 'UNCOMPRESS',
2913 'UNHEX',
2914 'UPPER',
2915 'USER',
2916 'UUID',
2919 'FUNC_DATE' => array(
2920 'CURDATE',
2921 'CURTIME',
2922 'DATE',
2923 'FROM_DAYS',
2924 'FROM_UNIXTIME',
2925 'NOW',
2926 'SEC_TO_TIME',
2927 'TIMESTAMP',
2928 'UTC_DATE',
2929 'UTC_TIME',
2930 'UTC_TIMESTAMP',
2931 'YEAR',
2934 'FUNC_NUMBER' => array(
2935 'ABS',
2936 'ACOS',
2937 'ASCII',
2938 'ASIN',
2939 'ATAN',
2940 'BIT_LENGTH',
2941 'BIT_COUNT',
2942 'CEILING',
2943 'CHAR_LENGTH',
2944 'COS',
2945 'COT',
2946 'CRC32',
2947 'DEGREES',
2948 'EXP',
2949 'FLOOR',
2950 'INET_ATON',
2951 'LENGTH',
2952 'LN',
2953 'LOG',
2954 'LOG2',
2955 'LOG10',
2956 'OCT',
2957 'ORD',
2958 'RADIANS',
2959 'RAND',
2960 'ROUND',
2961 'SQRT',
2962 'STDDEV_POP',
2963 'STDDEV_SAMP',
2964 'TAN',
2965 'TIME_TO_SEC',
2966 'UNIX_TIMESTAMP',
2967 'VAR_POP',
2968 'VAR_SAMP',
2971 'FUNC_SPATIAL' => array(
2972 'GeomFromText',
2973 'GeomFromWKB',
2975 'GeomCollFromText',
2976 'LineFromText',
2977 'MLineFromText',
2978 'PointFromText',
2979 'MPointFromText',
2980 'PolyFromText',
2981 'MPolyFromText',
2983 'GeomCollFromWKB',
2984 'LineFromWKB',
2985 'MLineFromWKB',
2986 'PointFromWKB',
2987 'MPointFromWKB',
2988 'PolyFromWKB',
2989 'MPolyFromWKB',
2994 * Default functions for above defined groups
2996 * @global array $cfg['DefaultFunctions']
2998 $cfg['DefaultFunctions'] = array(
2999 'FUNC_CHAR' => '',
3000 'FUNC_DATE' => '',
3001 'FUNC_NUMBER' => '',
3002 'first_timestamp' => 'NOW',
3003 'pk_char36' => 'UUID',
3007 } // end if
3010 * Search operators
3012 * @global array $cfg['NumOperators']
3014 $cfg['NumOperators'] = array(
3015 '=',
3016 '>',
3017 '>=',
3018 '<',
3019 '<=',
3020 '!=',
3021 'LIKE',
3022 'NOT LIKE',
3023 'IN (...)',
3024 'NOT IN (...)',
3025 'BETWEEN',
3026 'NOT BETWEEN',
3030 * Search operators
3032 * @global array $cfg['TextOperators']
3034 $cfg['TextOperators'] = array(
3035 'LIKE',
3036 'LIKE %...%',
3037 'NOT LIKE',
3038 '=',
3039 '!=',
3040 'REGEXP',
3041 'REGEXP ^...$',
3042 'NOT REGEXP',
3043 "= ''",
3044 "!= ''",
3045 'IN (...)',
3046 'NOT IN (...)',
3047 'BETWEEN',
3048 'NOT BETWEEN',
3052 * Search operators
3054 * @global array $cfg['EnumOperators']
3056 $cfg['EnumOperators'] = array(
3057 '=',
3058 '!=',
3062 * Search operators
3064 * @global array $cfg['SetOperators']
3066 $cfg['SetOperators'] = array(
3067 'IN',
3068 'NOT IN',
3072 * Search operators
3074 * @global array $cfg['NullOperators']
3076 $cfg['NullOperators'] = array(
3077 'IS NULL',
3078 'IS NOT NULL',
3082 * Search operators
3084 * @global array $cfg['UnaryOperators']
3086 $cfg['UnaryOperators'] = array(
3087 'IS NULL' => 1,
3088 'IS NOT NULL' => 1,
3089 "= ''" => 1,
3090 "!= ''" => 1