Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin...
[phpmyadmin.git] / libraries / config.default.php
bloba378f1f1143f20295ef2d2f24ef22c04044175da
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 relation features 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'] = true;
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 * maximum number of db's displayed in left frame and database list
493 * @global integer $cfg['MaxDbList']
495 $cfg['MaxDbList'] = 100;
498 * maximum number of tables displayed in table list
500 * @global integer $cfg['MaxTableList']
502 $cfg['MaxTableList'] = 250;
505 * maximum number of characters when a SQL query is displayed
507 * @global integer $cfg['MaxCharactersInDisplayedSQL']
509 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
512 * use GZIP output buffering if possible (true|false|'auto')
514 * @global string $cfg['OBGzip']
516 $cfg['OBGzip'] = 'auto';
519 * use persistent connections to MySQL database
521 * @global boolean $cfg['PersistentConnections']
523 $cfg['PersistentConnections'] = false;
526 * whether to force using HTTPS
528 * @global boolean $cfg['ForceSSL']
530 $cfg['ForceSSL'] = false;
533 * maximum execution time in seconds (0 for no limit)
535 * @global integer $cfg['ExecTimeLimit']
537 $cfg['ExecTimeLimit'] = 300;
540 * Path for storing session data (session_save_path PHP parameter).
542 * @global integer $cfg['SessionSavePath']
544 $cfg['SessionSavePath'] = '';
547 * maximum allocated bytes ('0' for no limit)
548 * this is a string because '16M' is a valid value; we must put here
549 * a string as the default value so that /setup accepts strings
551 * @global string $cfg['MemoryLimit']
553 $cfg['MemoryLimit'] = '0';
556 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
558 * @global boolean $cfg['SkipLockedTables']
560 $cfg['SkipLockedTables'] = false;
563 * show SQL queries as run
565 * @global boolean $cfg['ShowSQL']
567 $cfg['ShowSQL'] = true;
570 * show a 'Drop database' link to normal users
572 * @global boolean $cfg['AllowUserDropDatabase']
574 $cfg['AllowUserDropDatabase'] = false;
577 * confirm some commands that can result in loss of data
578 * (see "need_confirm" in the parser)
580 * @global boolean $cfg['Confirm']
582 $cfg['Confirm'] = true;
585 * recall previous login in cookie authentication mode or not
587 * @global boolean $cfg['LoginCookieRecall']
589 $cfg['LoginCookieRecall'] = true;
592 * validity of cookie login (in seconds; 1440 matches php.ini's
593 * session.gc_maxlifetime)
595 * @global integer $cfg['LoginCookieValidity']
597 $cfg['LoginCookieValidity'] = 1440;
600 * how long login cookie should be stored (in seconds)
602 * @global integer $cfg['LoginCookieStore']
604 $cfg['LoginCookieStore'] = 0;
607 * whether to delete all login cookies on logout
609 * @global boolean $cfg['LoginCookieDeleteAll']
611 $cfg['LoginCookieDeleteAll'] = true;
614 * whether to enable the "database search" feature or not
616 * @global boolean $cfg['UseDbSearch']
618 $cfg['UseDbSearch'] = true;
621 * if set to true, PMA continues computing multiple-statement queries
622 * even if one of the queries failed
624 * @global boolean $cfg['IgnoreMultiSubmitErrors']
626 $cfg['IgnoreMultiSubmitErrors'] = false;
629 * if set to true, PMA will show the affected rows of EACH statement on
630 * multiple-statement queries. See the libraries/import.php file for
631 * hard coded defaults on how many queries a statement may contain!
633 * @global boolean $cfg['VerboseMultiSubmit']
635 $cfg['VerboseMultiSubmit'] = true;
638 * allow login to any user entered server in cookie based authentication
640 * @global boolean $cfg['AllowArbitraryServer']
642 $cfg['AllowArbitraryServer'] = false;
645 /*******************************************************************************
646 * Error handler configuration
648 * this configures phpMyAdmin's own error handler, it is used to avoid information
649 * disclosure, gather errors for logging, reporting and displaying
651 * @global array $cfg['Error_Handler']
653 $cfg['Error_Handler'] = array();
656 * whether to display errors or not
658 * this does not affect errors of type E_USER_*
660 * @global boolean $cfg['Error_Handler']['display']
662 $cfg['Error_Handler']['display'] = false;
665 * (NOT IMPLEMENTED YET)
666 * where to log errors, false or empty to disable
668 * <code>
669 * // EXAMPLE log to std PHP error log
670 * $cfg['Error_Handler']['log'] = array(0);
671 * // EXAMPLE mail errors
672 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
673 * // EXAMPLE append to specific file
674 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
675 * </code>
677 * @see http://php.net/error_log
678 * @global string $cfg['Error_Handler']['log']
680 //$cfg['Error_Handler']['log'] = false;
683 * gather all errors in session to be displayed on a error reporting page
684 * for viewing and/or sending to phpMyAdmin developer team
686 * @global boolean $cfg['Error_Handler']['gather']
688 $cfg['Error_Handler']['gather'] = false;
691 /*******************************************************************************
692 * Left frame setup
696 * use a select-based menu and display only the current tables in the left frame.
698 * @global boolean $cfg['LeftFrameLight']
700 $cfg['LeftFrameLight'] = true;
703 * turn the select-based light menu into a tree
705 * @global boolean $cfg['LeftFrameDBTree']
707 $cfg['LeftFrameDBTree'] = true;
710 * the separator to sub-tree the select-based light menu tree
712 * @global string $cfg['LeftFrameDBSeparator']
714 $cfg['LeftFrameDBSeparator'] = '_';
717 * Which string will be used to generate table prefixes
718 * to split/nest tables into multiple categories
720 * @global string $cfg['LeftFrameTableSeparator']
722 $cfg['LeftFrameTableSeparator']= '__';
725 * How many sublevels should be displayed when splitting up tables by the above Separator
727 * @global integer $cfg['LeftFrameTableLevel']
729 $cfg['LeftFrameTableLevel'] = 1;
732 * display table comment as tooltip in left frame
734 * @global boolean $cfg['ShowTooltip']
736 $cfg['ShowTooltip'] = true;
739 * if ShowToolTip is enabled, this defines that table/db comments
741 * @global boolean $cfg['ShowTooltipAliasDB']
743 $cfg['ShowTooltipAliasDB'] = false;
746 * are shown (in the left menu and db_structure) instead of table/db names.
747 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
748 * descriptors, not the table itself.
750 * @global boolean $cfg['ShowTooltipAliasTB']
752 $cfg['ShowTooltipAliasTB'] = false;
755 * display logo at top of left frame
757 * @global boolean $cfg['LeftDisplayLogo']
759 $cfg['LeftDisplayLogo'] = true;
762 * where should logo link point to (can also contain an external URL)
764 * @global string $cfg['LeftLogoLink']
766 $cfg['LeftLogoLink'] = 'main.php';
769 * whether to open the linked page in the main window ('main') or
770 * in a new window ('new')
772 * @global string $cfg['LeftLogoLinkWindow']
774 $cfg['LeftLogoLinkWindow'] = 'main';
777 * display server choice at top of left frame
779 * @global boolean $cfg['LeftDisplayServers']
781 $cfg['LeftDisplayServers'] = false;
784 * server choice as links
786 * @global boolean $cfg['DisplayServersList']
788 $cfg['DisplayServersList'] = false;
791 * database choice in light as links
793 * @global boolean $cfg['DisplayDatabasesList']
795 $cfg['DisplayDatabasesList'] = 'auto';
798 * target of the navigation panel quick access icon
800 * Possible values:
801 * 'tbl_structure.php' = fields list
802 * 'tbl_sql.php' = SQL form
803 * 'tbl_select.php' = search page
804 * 'tbl_change.php' = insert row page
805 * 'sql.php' = browse page
807 * @global string $cfg['LeftDefaultTabTable']
809 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
812 /*******************************************************************************
813 * In the main frame, at startup...
817 * allow to display statistics and space usage in the pages about database
818 * details and table properties
820 * @global boolean $cfg['ShowStats']
822 $cfg['ShowStats'] = true;
825 * show PHP info link
827 * @global boolean $cfg['ShowPhpInfo']
829 $cfg['ShowPhpInfo'] = false;
832 * show MySQL server and web server information
834 * @global boolean $cfg['ShowServerInfo']
836 $cfg['ShowServerInfo'] = true;
839 * show change password link
841 * @global boolean $cfg['ShowChgPassword']
843 $cfg['ShowChgPassword'] = true;
846 * show create database form
848 * @global boolean $cfg['ShowCreateDb']
850 $cfg['ShowCreateDb'] = true;
853 * suggest a new DB name if possible (false = keep empty)
855 * @global boolean $cfg['SuggestDBName']
857 $cfg['SuggestDBName'] = true;
860 /*******************************************************************************
861 * In browse mode...
865 * Use icons instead of text for the navigation bar buttons
866 * and on right panel top menu (server db table) (true|false|'both')
868 * @global string $cfg['NavigationBarIconic']
870 $cfg['NavigationBarIconic'] = true;
873 * Defines whether a user should be displayed a "show all (records)"
874 * button in browse mode or not.
876 * @global boolean $cfg['ShowAll']
878 $cfg['ShowAll'] = false;
881 * Number of rows displayed when browsing a result set. If the result
882 * set contains more rows, "Previous" and "Next".
884 * @global integer $cfg['MaxRows']
886 $cfg['MaxRows'] = 30;
889 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
890 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
891 * ascending order else-)
893 * @global string $cfg['Order']
895 $cfg['Order'] = 'SMART';
898 * default for 'Show binary contents as HEX'
900 * @global string $cfg['DisplayBinaryAsHex']
902 $cfg['DisplayBinaryAsHex'] = true;
905 /*******************************************************************************
906 * In edit mode...
910 * disallow editing of binary fields
911 * valid values are:
912 * false allow editing
913 * 'blob' allow editing except for BLOB fields
914 * 'all' disallow editing
916 * @global string $cfg['ProtectBinary']
918 $cfg['ProtectBinary'] = 'blob';
921 * Display the function fields in edit/insert mode
923 * @global boolean $cfg['ShowFunctionFields']
925 $cfg['ShowFunctionFields'] = true;
928 * Display the type fields in edit/insert mode
930 * @global boolean $cfg['ShowFieldTypesInDataEditView']
932 $cfg['ShowFieldTypesInDataEditView'] = true;
935 * Which editor should be used for CHAR/VARCHAR fields:
936 * input - allows limiting of input length
937 * textarea - allows newlines in fields
939 * @global string $cfg['CharEditing']
941 $cfg['CharEditing'] = 'input';
944 * How many rows can be inserted at one time
946 * @global integer $cfg['InsertRows']
948 $cfg['InsertRows'] = 2;
951 * Sort order for items in a foreign-key drop-down list.
952 * 'content' is the referenced data, 'id' is the key value.
954 * @global array $cfg['ForeignKeyDropdownOrder']
956 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
959 * A drop-down list will be used if fewer items are present
961 * @global integer $cfg['ForeignKeyMaxLimit']
963 $cfg['ForeignKeyMaxLimit'] = 100;
966 /*******************************************************************************
967 * For the export features...
971 * Allow for the use of zip compression (requires zip support to be enabled)
973 * @global boolean $cfg['ZipDump']
975 $cfg['ZipDump'] = true;
978 * Allow for the use of gzip compression (requires zlib)
980 * @global boolean $cfg['GZipDump']
982 $cfg['GZipDump'] = true;
985 * Allow for the use of bzip2 compression (requires bz2 extension)
987 * @global boolean $cfg['BZipDump']
989 $cfg['BZipDump'] = true;
992 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
993 * If you encounter problems with created gzip/bzip2 files disable this feature.
995 * @global boolean $cfg['CompressOnFly']
997 $cfg['CompressOnFly'] = true;
1000 /*******************************************************************************
1001 * Tabs display settings
1005 * Use graphically less intense menu tabs
1007 * @global boolean $cfg['LightTabs']
1009 $cfg['LightTabs'] = false;
1012 * Use icons instead of text for the table display of a database (true|false|'both')
1014 * @global boolean $cfg['PropertiesIconic']
1016 $cfg['PropertiesIconic'] = 'both';
1019 * How many columns should be used for table display of a database?
1020 * (a value larger than 1 results in some information being hidden)
1022 * @global integer $cfg['PropertiesNumColumns']
1024 $cfg['PropertiesNumColumns'] = 1;
1027 * Possible values:
1028 * 'main.php' = the welcome page
1029 * (recommended for multiuser setups)
1030 * 'server_databases.php' = list of databases
1031 * 'server_status.php' = runtime information
1032 * 'server_variables.php' = MySQL server variables
1033 * 'server_privileges.php' = user management
1034 * 'server_processlist.php' = process list
1036 * @global string $cfg['DefaultTabServer']
1038 $cfg['DefaultTabServer'] = 'main.php';
1041 * Possible values:
1042 * 'db_structure.php' = tables list
1043 * 'db_sql.php' = SQL form
1044 * 'db_search.php' = search query
1045 * 'db_operations.php' = operations on database
1047 * @global string $cfg['DefaultTabDatabase']
1049 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1052 * Possible values:
1053 * 'tbl_structure.php' = fields list
1054 * 'tbl_sql.php' = SQL form
1055 * 'tbl_select.php' = search page
1056 * 'tbl_change.php' = insert row page
1057 * 'sql.php' = browse page
1059 * @global string $cfg['DefaultTabTable']
1061 $cfg['DefaultTabTable'] = 'sql.php';
1063 /*******************************************************************************
1064 * Export defaults
1066 $cfg['Export'] = array();
1069 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1071 * @global string $cfg['Export']['format']
1073 $cfg['Export']['format'] = 'sql';
1076 * none/zip/gzip/bzip2
1078 * @global string $cfg['Export']['compression']
1080 $cfg['Export']['compression'] = 'none';
1085 * @global boolean $cfg['Export']['asfile']
1087 $cfg['Export']['asfile'] = true;
1092 * @global string $cfg['Export']['charset']
1094 $cfg['Export']['charset'] = '';
1099 * @global boolean $cfg['Export']['onserver']
1101 $cfg['Export']['onserver'] = false;
1106 * @global boolean $cfg['Export']['onserver_overwrite']
1108 $cfg['Export']['onserver_overwrite'] = false;
1113 * @global boolean $cfg['Export']['quick_export_onserver']
1115 $cfg['Export']['quick_export_onserver'] = false;
1120 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1122 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1127 * @global boolean $cfg['Export']['remember_file_template']
1129 $cfg['Export']['remember_file_template'] = true;
1134 * @global string $cfg['Export']['file_template_table']
1136 $cfg['Export']['file_template_table'] = '@TABLE@';
1141 * @global string $cfg['Export']['file_template_database']
1143 $cfg['Export']['file_template_database'] = '@DATABASE@';
1148 * @global string $cfg['Export']['file_template_server']
1150 $cfg['Export']['file_template_server'] = '@SERVER@';
1155 * @global string $cfg['Export']['codegen_structure_or_data']
1157 $cfg['Export']['codegen_structure_or_data'] = 'data';
1162 * @global $cfg['Export']['codegen_format']
1164 $cfg['Export']['codegen_format'] = 0;
1169 * @global boolean $cfg['Export']['ods_columns']
1171 $cfg['Export']['ods_columns'] = false;
1176 * @global string $cfg['Export']['ods_null']
1178 $cfg['Export']['ods_null'] = 'NULL';
1183 * @global string $cfg['Export']['odt_structure_or_data']
1185 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1190 * @global boolean $cfg['Export']['odt_columns']
1192 $cfg['Export']['odt_columns'] = true;
1197 * @global boolean $cfg['Export']['odt_relation']
1199 $cfg['Export']['odt_relation'] = true;
1204 * @global boolean $cfg['Export']['odt_comments']
1206 $cfg['Export']['odt_comments'] = true;
1211 * @global boolean $cfg['Export']['odt_mime']
1213 $cfg['Export']['odt_mime'] = true;
1218 * @global string $cfg['Export']['odt_null']
1220 $cfg['Export']['odt_null'] = 'NULL';
1225 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1227 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1232 * @global boolean $cfg['Export']['htmlword_columns']
1234 $cfg['Export']['htmlword_columns'] = false;
1239 * @global string $cfg['Export']['htmlword_null']
1241 $cfg['Export']['htmlword_null'] = 'NULL';
1246 * @global string $cfg['Export']['texytext_structure_or_data']
1248 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1253 * @global boolean $cfg['Export']['texytext_columns']
1255 $cfg['Export']['texytext_columns'] = FALSE;
1260 * @global string $cfg['Export']['texytext_null']
1262 $cfg['Export']['texytext_null'] = 'NULL';
1267 * @global boolean $cfg['Export']['xls_columns']
1269 $cfg['Export']['xls_columns'] = false;
1274 * @global string $cfg['Export']['xls_structure_or_data']
1276 $cfg['Export']['xls_structure_or_data'] = 'data';
1281 * @global string $cfg['Export']['xls_null']
1283 $cfg['Export']['xls_null'] = 'NULL';
1288 * @global boolean $cfg['Export']['xlsx_columns']
1290 $cfg['Export']['xlsx_columns'] = false;
1295 * @global string $cfg['Export']['xlsx_structure_or_data']
1297 $cfg['Export']['xlsx_structure_or_data'] = 'data';
1302 * @global string $cfg['Export']['xlsx_null']
1304 $cfg['Export']['xlsx_null'] = 'NULL';
1309 * @global boolean $cfg['Export']['csv_columns']
1311 $cfg['Export']['csv_columns'] = false;
1316 * @global string $cfg['Export']['csv_structure_or_data']
1318 $cfg['Export']['csv_structure_or_data'] = 'data';
1323 * @global string $cfg['Export']['csv_null']
1325 $cfg['Export']['csv_null'] = 'NULL';
1330 * @global string $cfg['Export']['csv_separator']
1332 $cfg['Export']['csv_separator'] = ',';
1337 * @global string $cfg['Export']['csv_enclosed']
1339 $cfg['Export']['csv_enclosed'] = '"';
1344 * @global string $cfg['Export']['csv_escaped']
1346 $cfg['Export']['csv_escaped'] = '\\';
1351 * @global string $cfg['Export']['csv_terminated']
1353 $cfg['Export']['csv_terminated'] = 'AUTO';
1358 * @global string $cfg['Export']['csv_removeCRLF']
1360 $cfg['Export']['csv_removeCRLF'] = false;
1365 * @global boolean $cfg['Export']['excel_columns']
1367 $cfg['Export']['excel_columns'] = false;
1372 * @global string $cfg['Export']['excel_null']
1374 $cfg['Export']['excel_null'] = 'NULL';
1377 * win/mac
1379 * @global string $cfg['Export']['excel_edition']
1381 $cfg['Export']['excel_edition'] = 'win';
1386 * @global string $cfg['Export']['excel_removeCRLF']
1388 $cfg['Export']['excel_removeCRLF'] = false;
1393 * @global string $cfg['Export']['excel_structure_or_data']
1395 $cfg['Export']['excel_structure_or_data'] = 'data';
1400 * @global string $cfg['Export']['latex_structure_or_data']
1402 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1407 * @global boolean $cfg['Export']['latex_columns']
1409 $cfg['Export']['latex_columns'] = true;
1414 * @global boolean $cfg['Export']['latex_relation']
1416 $cfg['Export']['latex_relation'] = true;
1421 * @global boolean $cfg['Export']['latex_comments']
1423 $cfg['Export']['latex_comments'] = true;
1428 * @global boolean $cfg['Export']['latex_mime']
1430 $cfg['Export']['latex_mime'] = true;
1435 * @global string $cfg['Export']['latex_null']
1437 $cfg['Export']['latex_null'] = '\textit{NULL}';
1442 * @global boolean $cfg['Export']['latex_caption']
1444 $cfg['Export']['latex_caption'] = true;
1449 * @global string $cfg['Export']['latex_structure_caption']
1451 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1456 * @global string $cfg['Export']['latex_structure_continued_caption']
1458 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1463 * @global string $cfg['Export']['latex_data_caption']
1465 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1470 * @global string $cfg['Export']['latex_data_continued_caption']
1472 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1477 * @global string $cfg['Export']['latex_data_label']
1479 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1484 * @global string $cfg['Export']['latex_structure_label']
1486 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1491 * @global string $cfg['Export']['mediawiki_structure_or_data']
1493 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1498 * @global string $cfg['Export']['ods_structure_or_data']
1500 $cfg['Export']['ods_structure_or_data'] = 'data';
1505 * @global string $cfg['Export']['pdf_structure_or_data']
1507 $cfg['Export']['pdf_structure_or_data'] = 'data';
1512 * @global string $cfg['Export']['php_array_structure_or_data']
1514 $cfg['Export']['php_array_structure_or_data'] = 'data';
1519 * @global string $cfg['Export']['sql_structure_or_data']
1521 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1526 * @global string $cfg['Export']['sql_compatibility']
1528 $cfg['Export']['sql_compatibility'] = 'NONE';
1531 * Whether to include comments in SQL export.
1533 * @global string $cfg['Export']['sql_include_comments']
1535 $cfg['Export']['sql_include_comments'] = true;
1540 * @global boolean $cfg['Export']['sql_disable_fk']
1542 $cfg['Export']['sql_disable_fk'] = false;
1547 * @global boolean $cfg['Export']['sql_use_transaction']
1549 $cfg['Export']['sql_use_transaction'] = false;
1554 * @global boolean $cfg['Export']['sql_drop_database']
1556 $cfg['Export']['sql_drop_database'] = false;
1561 * @global boolean $cfg['Export']['sql_drop_table']
1563 $cfg['Export']['sql_drop_table'] = false;
1568 * true by default for correct behavior when dealing with exporting
1569 * of VIEWs and the stand-in table
1570 * @global boolean $cfg['Export']['sql_if_not_exists']
1572 $cfg['Export']['sql_if_not_exists'] = true;
1577 * @global boolean $cfg['Export']['sql_procedure_function']
1579 $cfg['Export']['sql_procedure_function'] = true;
1584 * @global boolean $cfg['Export']['sql_auto_increment']
1586 $cfg['Export']['sql_auto_increment'] = true;
1591 * @global boolean $cfg['Export']['sql_backquotes']
1593 $cfg['Export']['sql_backquotes'] = true;
1598 * @global boolean $cfg['Export']['sql_dates']
1600 $cfg['Export']['sql_dates'] = false;
1605 * @global boolean $cfg['Export']['sql_relation']
1607 $cfg['Export']['sql_relation'] = false;
1612 * @global boolean $cfg['Export']['sql_delayed']
1614 $cfg['Export']['sql_delayed'] = false;
1619 * @global boolean $cfg['Export']['sql_ignore']
1621 $cfg['Export']['sql_ignore'] = false;
1624 * Export time in UTC.
1626 * @global boolean $cfg['Export']['sql_utc_time']
1628 $cfg['Export']['sql_utc_time'] = true;
1633 * @global boolean $cfg['Export']['sql_hex_for_blob']
1635 $cfg['Export']['sql_hex_for_blob'] = true;
1638 * insert/update/replace
1640 * @global string $cfg['Export']['sql_type']
1642 $cfg['Export']['sql_type'] = 'INSERT';
1647 * @global integer $cfg['Export']['sql_max_query_size']
1649 $cfg['Export']['sql_max_query_size'] = 50000;
1654 * @global boolean $cfg['Export']['sql_comments']
1656 $cfg['Export']['sql_comments'] = false;
1661 * @global boolean $cfg['Export']['sql_mime']
1663 $cfg['Export']['sql_mime'] = false;
1666 * \n is replaced by new line
1668 * @global string $cfg['Export']['sql_header_comment']
1670 $cfg['Export']['sql_header_comment'] = '';
1675 * @global boolean $cfg['Export']['sql_create_table_statements']
1677 $cfg['Export']['sql_create_table_statements'] = true;
1680 * Whether to use complete inserts, extended inserts, both, or neither
1682 * @global string $cfg['Export']['sql_insert_syntax']
1684 $cfg['Export']['sql_insert_syntax'] = 'both';
1689 * @global string $cfg['Export']['pdf_report_title']
1691 $cfg['Export']['pdf_report_title'] = '';
1696 *@global string $cfg['Export']['xml_structure_or_data']
1698 $cfg['Export']['xml_structure_or_data'] = 'data';
1701 * Export schema for each structure
1703 * @global string $cfg['Export']['xml_export_struc']
1705 $cfg['Export']['xml_export_struc'] = true;
1708 * Export functions
1710 * @global string $cfg['Export']['xml_export_functions']
1712 $cfg['Export']['xml_export_functions'] = true;
1715 * Export procedures
1717 * @global string $cfg['Export']['xml_export_procedures']
1719 $cfg['Export']['xml_export_procedures'] = true;
1722 * Export schema for each table
1724 * @global string $cfg['Export']['xml_export_tables']
1726 $cfg['Export']['xml_export_tables'] = true;
1729 * Export triggers
1731 * @global string $cfg['Export']['xml_export_triggers']
1733 $cfg['Export']['xml_export_triggers'] = true;
1736 * Export views
1738 * @global string $cfg['Export']['xml_export_views']
1740 $cfg['Export']['xml_export_views'] = true;
1743 * Export contents data
1745 * @global string $cfg['Export']['xml_export_contents']
1747 $cfg['Export']['xml_export_contents'] = true;
1752 * @global string $cfg['Export']['yaml_structure_or_data']
1754 $cfg['Export']['yaml_structure_or_data'] = 'data';
1756 /*******************************************************************************
1757 * Import defaults
1759 $cfg['Import'] = array();
1764 * @global string $cfg['Import']['format']
1766 $cfg['Import']['format'] = 'sql';
1769 * Default charset for import.
1771 * @global string $cfg['Import']['charset']
1773 $cfg['Import']['charset'] = '';
1778 * @global boolean $cfg['Import']['allow_interrupt']
1780 $cfg['Import']['allow_interrupt'] = true;
1785 * @global integer $cfg['Import']['skip_queries']
1787 $cfg['Import']['skip_queries'] = 0;
1792 * @global string $cfg['Import']['sql_compatibility']
1794 $cfg['Import']['sql_compatibility'] = 'NONE';
1799 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
1801 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
1806 * @global boolean $cfg['Import']['csv_replace']
1808 $cfg['Import']['csv_replace'] = false;
1813 * @global boolean $cfg['Import']['csv_ignore']
1815 $cfg['Import']['csv_ignore'] = false;
1820 * @global string $cfg['Import']['csv_terminated']
1822 $cfg['Import']['csv_terminated'] = ',';
1827 * @global string $cfg['Import']['csv_enclosed']
1829 $cfg['Import']['csv_enclosed'] = '"';
1834 * @global string $cfg['Import']['csv_escaped']
1836 $cfg['Import']['csv_escaped'] = '\\';
1841 * @global string $cfg['Import']['csv_new_line']
1843 $cfg['Import']['csv_new_line'] = 'auto';
1848 * @global string $cfg['Import']['csv_columns']
1850 $cfg['Import']['csv_columns'] = '';
1855 * @global string $cfg['Import']['csv_col_names']
1857 $cfg['Import']['csv_col_names'] = false;
1862 * @global boolean $cfg['Import']['ldi_replace']
1864 $cfg['Import']['ldi_replace'] = false;
1869 * @global boolean $cfg['Import']['ldi_ignore']
1871 $cfg['Import']['ldi_ignore'] = false;
1876 * @global string $cfg['Import']['ldi_terminated']
1878 $cfg['Import']['ldi_terminated'] = ';';
1883 * @global string $cfg['Import']['ldi_enclosed']
1885 $cfg['Import']['ldi_enclosed'] = '"';
1890 * @global string $cfg['Import']['ldi_escaped']
1892 $cfg['Import']['ldi_escaped'] = '\\';
1897 * @global string $cfg['Import']['ldi_new_line']
1899 $cfg['Import']['ldi_new_line'] = 'auto';
1904 * @global string $cfg['Import']['ldi_columns']
1906 $cfg['Import']['ldi_columns'] = '';
1909 * 'auto' for auto-detection, true or false for forcing
1911 * @global string $cfg['Import']['ldi_local_option']
1913 $cfg['Import']['ldi_local_option'] = 'auto';
1918 * @global string $cfg['Import']['ods_col_names']
1920 $cfg['Import']['ods_col_names'] = false;
1925 * @global string $cfg['Import']['ods_empty_rows']
1927 $cfg['Import']['ods_empty_rows'] = true;
1932 * @global string $cfg['Import']['ods_recognize_percentages']
1934 $cfg['Import']['ods_recognize_percentages'] = true;
1939 * @global string $cfg['Import']['ods_recognize_currency']
1941 $cfg['Import']['ods_recognize_currency'] = true;
1946 * @global string $cfg['Import']['xml_col_names']
1948 $cfg['Import']['xls_col_names'] = false;
1953 * @global string $cfg['Import']['xml_empty_rows']
1955 $cfg['Import']['xls_empty_rows'] = true;
1960 * @global string $cfg['Import']['xlsx_col_names']
1962 $cfg['Import']['xlsx_col_names'] = false;
1965 * Link to the official MySQL documentation.
1966 * Be sure to include no trailing slash on the path.
1967 * See http://dev.mysql.com/doc/ for more information
1968 * about MySQL manuals and their types.
1970 * @global string $cfg['MySQLManualBase']
1972 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
1975 * Type of MySQL documentation:
1976 * viewable - "viewable online", current one used on MySQL website
1977 * searchable - "Searchable, with user comments"
1978 * chapters - "HTML, one page per chapter"
1979 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
1980 * big - "HTML, all on one page"
1981 * old - old style used in phpMyAdmin 2.3.0 and sooner
1982 * none - do not show documentation links
1984 * @global string $cfg['MySQLManualType']
1986 $cfg['MySQLManualType'] = 'viewable';
1989 /*******************************************************************************
1990 * PDF options
1996 * @global array $cfg['PDFPageSizes']
1998 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2003 * @global string $cfg['PDFDefaultPageSize']
2005 $cfg['PDFDefaultPageSize'] = 'A4';
2008 /*******************************************************************************
2009 * Language and character set conversion settings
2013 * Default language to use, if not browser-defined or user-defined
2015 * @global string $cfg['DefaultLang']
2017 $cfg['DefaultLang'] = 'en';
2020 * Default connection collation
2022 * @global string $cfg['DefaultConnectionCollation']
2024 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
2027 * Force: always use this language
2028 * $cfg['Lang'] = 'en';
2030 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2031 * English only
2033 * @global string $cfg['FilterLanguages']
2035 $cfg['FilterLanguages'] = '';
2038 * You can select here which functions will be used for character set conversion.
2039 * Possible values are:
2040 * auto - automatically use available one (first is tested iconv, then
2041 * recode)
2042 * iconv - use iconv or libiconv functions
2043 * recode - use recode_string function
2044 * none - disable encoding conversion
2046 * @global string $cfg['RecodingEngine']
2048 $cfg['RecodingEngine'] = 'auto';
2051 * Specify some parameters for iconv used in character set conversion. See iconv
2052 * documentation for details:
2053 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2055 * @global string $cfg['IconvExtraParams']
2057 $cfg['IconvExtraParams'] = '//TRANSLIT';
2060 * Available character sets for MySQL conversion. currently contains all which could
2061 * be found in lang/* files and few more.
2062 * Character sets will be shown in same order as here listed, so if you frequently
2063 * use some of these move them to the top.
2065 * @global array $cfg['AvailableCharsets']
2067 $cfg['AvailableCharsets'] = array(
2068 'iso-8859-1',
2069 'iso-8859-2',
2070 'iso-8859-3',
2071 'iso-8859-4',
2072 'iso-8859-5',
2073 'iso-8859-6',
2074 'iso-8859-7',
2075 'iso-8859-8',
2076 'iso-8859-9',
2077 'iso-8859-10',
2078 'iso-8859-11',
2079 'iso-8859-12',
2080 'iso-8859-13',
2081 'iso-8859-14',
2082 'iso-8859-15',
2083 'windows-1250',
2084 'windows-1251',
2085 'windows-1252',
2086 'windows-1256',
2087 'windows-1257',
2088 'koi8-r',
2089 'big5',
2090 'gb2312',
2091 'utf-16',
2092 'utf-8',
2093 'utf-7',
2094 'x-user-defined',
2095 'euc-jp',
2096 'ks_c_5601-1987',
2097 'tis-620',
2098 'SHIFT_JIS'
2102 /*******************************************************************************
2103 * Customization & design
2105 * The graphical settings are now located in themes/theme-name/layout.inc.php
2109 * enable the left panel pointer
2110 * (used when LeftFrameLight is false)
2111 * see also LeftPointerColor
2112 * in layout.inc.php
2114 * @global boolean $cfg['LeftPointerEnable']
2116 $cfg['LeftPointerEnable'] = true;
2119 * enable the browse pointer
2120 * see also BrowsePointerColor
2121 * in layout.inc.php
2123 * @global boolean $cfg['BrowsePointerEnable']
2125 $cfg['BrowsePointerEnable'] = true;
2128 * enable the browse marker
2129 * see also BrowseMarkerColor
2130 * in layout.inc.php
2132 * @global boolean $cfg['BrowseMarkerEnable']
2134 $cfg['BrowseMarkerEnable'] = true;
2137 * textarea size (columns) in edit mode
2138 * (this value will be emphasized (*2) for SQL
2139 * query textareas and (*1.25) for query window)
2141 * @global integer $cfg['TextareaCols']
2143 $cfg['TextareaCols'] = 40;
2146 * textarea size (rows) in edit mode
2148 * @global integer $cfg['TextareaRows']
2150 $cfg['TextareaRows'] = 15;
2153 * double size of textarea size for LONGTEXT fields
2155 * @global boolean $cfg['LongtextDoubleTextarea']
2157 $cfg['LongtextDoubleTextarea'] = true;
2160 * auto-select when clicking in the textarea of the query-box
2162 * @global boolean $cfg['TextareaAutoSelect']
2164 $cfg['TextareaAutoSelect'] = false;
2167 * textarea size (columns) for CHAR/VARCHAR
2169 * @global integer $cfg['CharTextareaCols']
2171 $cfg['CharTextareaCols'] = 40;
2174 * textarea size (rows) for CHAR/VARCHAR
2176 * @global integer $cfg['CharTextareaRows']
2178 $cfg['CharTextareaRows'] = 2;
2181 * Enable Ctrl+Arrows moving between fields when editing?
2183 * @global boolean $cfg['CtrlArrowsMoving']
2185 $cfg['CtrlArrowsMoving'] = true;
2188 * Max field data length in browse mode for all non-numeric fields
2190 * @global integer $cfg['LimitChars']
2192 $cfg['LimitChars'] = 50;
2195 * show edit/delete links on left side of browse
2196 * (or at the top with vertical browse)
2198 * @global boolean $cfg['ModifyDeleteAtLeft']
2200 $cfg['ModifyDeleteAtLeft'] = true;
2203 * show edit/delete links on right side of browse
2204 * (or at the bottom with vertical browse)
2206 * @global boolean $cfg['ModifyDeleteAtRight']
2208 $cfg['ModifyDeleteAtRight'] = false;
2211 * default display direction (horizontal|vertical|horizontalflipped)
2213 * @global string $cfg['DefaultDisplay']
2215 $cfg['DefaultDisplay'] = 'horizontal';
2218 * default display direction for altering/creating columns (tbl_properties)
2219 * (horizontal|vertical|<number>)
2220 * number indicates maximum number for which vertical model is used
2222 * @global integer $cfg['DefaultPropDisplay']
2224 $cfg['DefaultPropDisplay'] = 3;
2227 * table-header rotation via faking or CSS? (css|fake|auto)
2228 * NOTE: CSS only works in IE browsers!
2230 * @global string $cfg['HeaderFlipType']
2232 $cfg['HeaderFlipType'] = 'auto';
2235 * shows stored relation-comments in 'browse' mode.
2237 * @global boolean $cfg['ShowBrowseComments']
2239 $cfg['ShowBrowseComments'] = true;
2242 * shows stored relation-comments in 'table property' mode.
2244 * @global boolean $cfg['ShowPropertyComments']
2246 $cfg['ShowPropertyComments']= true;
2249 * repeat header names every X cells? (0 = deactivate)
2251 * @global integer $cfg['RepeatCells']
2253 $cfg['RepeatCells'] = 100;
2256 * Set to true if Edit link should open the query to edit in the query window
2257 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
2259 * @global boolean $cfg['EditInWindow']
2261 $cfg['EditInWindow'] = true;
2264 * Width of Query window
2266 * @global integer $cfg['QueryWindowWidth']
2268 $cfg['QueryWindowWidth'] = 550;
2271 * Height of Query window
2273 * @global integer $cfg['QueryWindowHeight']
2275 $cfg['QueryWindowHeight'] = 310;
2278 * Set to true if you want DB-based query history.If false, this utilizes
2279 * JS-routines to display query history (lost by window close)
2281 * @global boolean $cfg['QueryHistoryDB']
2283 $cfg['QueryHistoryDB'] = false;
2286 * which tab to display in the querywindow on startup
2287 * (sql|files|history|full)
2289 * @global string $cfg['QueryWindowDefTab']
2291 $cfg['QueryWindowDefTab'] = 'sql';
2294 * When using DB-based query history, how many entries should be kept?
2296 * @global integer $cfg['QueryHistoryMax']
2298 $cfg['QueryHistoryMax'] = 25;
2301 * Use MIME-Types (stored in column comments table) for
2303 * @global boolean $cfg['BrowseMIME']
2305 $cfg['BrowseMIME'] = true;
2308 * When approximate count < this, PMA will get exact count for table rows.
2310 * @global integer $cfg['MaxExactCount']
2312 $cfg['MaxExactCount'] = 20000;
2315 * Zero means that no row count is done for views; see the doc
2317 * @global integer $cfg['MaxExactCountViews']
2319 $cfg['MaxExactCountViews'] = 0;
2322 * Utilize DHTML/JS capabilities to allow WYSIWYG editing of
2323 * the PDF page editor. Requires an IE6/Gecko based browser.
2325 * @global boolean $cfg['WYSIWYG-PDF']
2327 $cfg['WYSIWYG-PDF'] = true;
2330 * Sort table and database in natural order
2332 * @global boolean $cfg['NaturalOrder']
2334 $cfg['NaturalOrder'] = true;
2337 * Initial state for sliders
2338 * (open | closed)
2340 * @global string $cfg['InitialSlidersState']
2342 $cfg['InitialSlidersState'] = 'closed';
2345 * User preferences: disallow these settings
2346 * For possible setting names look in libraries/config/user_preferences.forms.php
2348 * @global array $cfg['UserprefsDisallow']
2350 $cfg['UserprefsDisallow'] = array();
2353 * User preferences: enable the Developer tab
2355 $cfg['UserprefsDeveloperTab'] = false;
2357 /*******************************************************************************
2358 * Window title settings
2362 * title of browser window when a table is selected
2364 * @global string $cfg['TitleTable']
2366 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2369 * title of browser window when a database is selected
2371 * @global string $cfg['TitleDatabase']
2373 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2376 * title of browser window when a server is selected
2378 * @global string $cfg['TitleServer']
2380 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2383 * title of browser window when nothing is selected
2384 * @global string $cfg['TitleDefault']
2386 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2389 * show some icons for warning, error and information messages (true|false)?
2391 * @global boolean $cfg['ErrorIconic']
2393 $cfg['ErrorIconic'] = true;
2396 * show icons in list on main page and on menu tabs (true|false)?
2398 * @global boolean $cfg['MainPageIconic']
2400 $cfg['MainPageIconic'] = true;
2403 * show help button instead of Documentation text (true|false)?
2405 * @global boolean $cfg['ReplaceHelpImg']
2407 $cfg['ReplaceHelpImg'] = true;
2410 /*******************************************************************************
2411 * theme manager
2415 * using themes manager please set up here the path to 'themes' else leave empty
2417 * @global string $cfg['ThemePath']
2419 $cfg['ThemePath'] = './themes';
2422 * if you want to use selectable themes and if ThemesPath not empty
2423 * set it to true, else set it to false (default is false);
2425 * @global boolean $cfg['ThemeManager']
2427 $cfg['ThemeManager'] = true;
2430 * set up default theme, if ThemePath not empty you can set up here an valid
2431 * path to themes or 'original' for the original pma-theme
2433 * @global string $cfg['ThemeDefault']
2435 $cfg['ThemeDefault'] = 'original';
2438 * allow different theme for each configured server
2440 * @global boolean $cfg['ThemePerServer']
2442 $cfg['ThemePerServer'] = false;
2445 /*******************************************************************************
2450 * Default query for table
2452 * @global string $cfg['DefaultQueryTable']
2454 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2457 * Default query for database
2459 * @global string $cfg['DefaultQueryDatabase']
2461 $cfg['DefaultQueryDatabase'] = '';
2464 /*******************************************************************************
2465 * SQL Query box settings
2466 * These are the links display in all of the SQL Query boxes
2468 * @global array $cfg['SQLQuery']
2470 $cfg['SQLQuery'] = array();
2473 * Edit link to change a query
2475 * @global boolean $cfg['SQLQuery']['Edit']
2477 $cfg['SQLQuery']['Edit'] = true;
2480 * EXPLAIN on SELECT queries
2482 * @global boolean $cfg['SQLQuery']['Explain']
2484 $cfg['SQLQuery']['Explain'] = true;
2487 * Wrap a query in PHP
2489 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2491 $cfg['SQLQuery']['ShowAsPHP'] = true;
2494 * Validate a query (see $cfg['SQLValidator'] as well)
2496 * @global boolean $cfg['SQLQuery']['Validate']
2498 $cfg['SQLQuery']['Validate'] = false;
2501 * Refresh the results page
2503 * @global boolean $cfg['SQLQuery']['Refresh']
2505 $cfg['SQLQuery']['Refresh'] = true;
2508 /*******************************************************************************
2509 * Web server upload/save/import directories
2513 * Directory for uploaded files that can be executed by phpMyAdmin.
2514 * For example './upload'. Leave empty for no upload directory support.
2515 * Use %u for username inclusion.
2517 * @global string $cfg['UploadDir']
2519 $cfg['UploadDir'] = '';
2522 * Directory where phpMyAdmin can save exported data on server.
2523 * For example './save'. Leave empty for no save directory support.
2524 * Use %u for username inclusion.
2526 * @global string $cfg['SaveDir']
2528 $cfg['SaveDir'] = '';
2531 * Directory where phpMyAdmin can save temporary files.
2532 * This is needed for MS Excel export, see documentation how to enable that.
2534 * @global string $cfg['TempDir']
2536 $cfg['TempDir'] = '';
2540 * Misc. settings
2544 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2545 * which is the only safe way to determine GD version.
2547 * @global string $cfg['GD2Available']
2549 $cfg['GD2Available'] = 'auto';
2552 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2554 * @global array $cfg['TrustedProxies']
2556 $cfg['TrustedProxies'] = array();
2559 * We normally check the permissions on the configuration file to ensure
2560 * it's not world writable. However, phpMyAdmin could be installed on
2561 * a NTFS filesystem mounted on a non-Windows server, in which case the
2562 * permissions seems wrong but in fact cannot be detected. In this case
2563 * a sysadmin would set the following to false.
2565 $cfg['CheckConfigurationPermissions'] = true;
2568 * Limit for length of URL in links. When length would be above this limit, it
2569 * is replaced by form with button.
2570 * This is required as some web servers (IIS) have problems with long URLs.
2572 $cfg['LinkLengthLimit'] = 1000;
2574 /*******************************************************************************
2575 * SQL Parser Settings
2577 * @global array $cfg['SQP']
2579 $cfg['SQP'] = array();
2582 * Pretty-printing style to use on queries (html, text, none)
2584 * @global string $cfg['SQP']['fmtType']
2586 $cfg['SQP']['fmtType'] = 'html';
2589 * Amount to indent each level (floats are valid)
2591 * @global integer $cfg['SQP']['fmtInd']
2593 $cfg['SQP']['fmtInd'] = '1';
2596 * Units for indenting each level (CSS Types - {em, px, pt})
2598 * @global string $cfg['SQP']['fmtIndUnit']
2600 $cfg['SQP']['fmtIndUnit'] = 'em';
2603 /*******************************************************************************
2604 * If you wish to use the SQL Validator service, you should be aware of the
2605 * following:
2606 * All SQL statements are stored anonymously for statistical purposes.
2607 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2608 * All rights reserved.
2610 * @global array $cfg['SQLValidator']
2612 $cfg['SQLValidator'] = array();
2615 * Make the SQL Validator available
2617 * @global boolean $cfg['SQLValidator']['use']
2619 $cfg['SQLValidator']['use'] = false;
2622 * If you have a custom username, specify it here (defaults to anonymous)
2624 * @global string $cfg['SQLValidator']['username']
2626 $cfg['SQLValidator']['username'] = '';
2629 * Password for username
2631 * @global string $cfg['SQLValidator']['password']
2633 $cfg['SQLValidator']['password'] = '';
2636 /*******************************************************************************
2637 * Developers ONLY!
2639 * @global array $cfg['DBG']
2641 $cfg['DBG'] = array();
2644 * Output executed queries and their execution times
2646 * @global boolean $cfg['DBG']['sql']
2648 $cfg['DBG']['sql'] = false;
2651 * Make the DBG stuff available
2652 * To use the following, please install the DBG extension from http://dd.cron.ru/dbg/
2654 * @global boolean $cfg['DBG']['php']
2656 $cfg['DBG']['php'] = false;
2659 * Produce profiling results of PHP
2661 * @global boolean $cfg['DBG']['profile']['enable']
2663 $cfg['DBG']['profile']['enable'] = false;
2666 * Threshold of long running code to display
2667 * Anything below the threshold is not displayed
2669 * @global float $cfg['DBG']['profile']['threshold']
2671 $cfg['DBG']['profile']['threshold'] = 0.5;
2674 /*******************************************************************************
2675 * MySQL settings
2679 * Column types;
2680 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2682 * @global array $cfg['ColumnTypes']
2684 $cfg['ColumnTypes'] = array(
2685 // most used
2686 'INT',
2687 'VARCHAR',
2688 'TEXT',
2689 'DATE',
2691 // numeric
2692 'NUMERIC' => array(
2693 'TINYINT',
2694 'SMALLINT',
2695 'MEDIUMINT',
2696 'INT',
2697 'BIGINT',
2698 '-',
2699 'DECIMAL',
2700 'FLOAT',
2701 'DOUBLE',
2702 'REAL',
2703 '-',
2704 'BIT',
2705 'BOOLEAN',
2706 'SERIAL',
2710 // Date/Time
2711 'DATE and TIME' => array(
2712 'DATE',
2713 'DATETIME',
2714 'TIMESTAMP',
2715 'TIME',
2716 'YEAR',
2719 // Text
2720 'STRING' => array(
2721 'CHAR',
2722 'VARCHAR',
2723 '-',
2724 'TINYTEXT',
2725 'TEXT',
2726 'MEDIUMTEXT',
2727 'LONGTEXT',
2728 '-',
2729 'BINARY',
2730 'VARBINARY',
2731 '-',
2732 'TINYBLOB',
2733 'MEDIUMBLOB',
2734 'BLOB',
2735 'LONGBLOB',
2736 '-',
2737 'ENUM',
2738 'SET',
2741 'SPATIAL' => array(
2742 'GEOMETRY',
2743 'POINT',
2744 'LINESTRING',
2745 'POLYGON',
2746 'MULTIPOINT',
2747 'MULTILINESTRING',
2748 'MULTIPOLYGON',
2749 'GEOMETRYCOLLECTION',
2754 * Attributes
2756 * @global array $cfg['AttributeTypes']
2758 $cfg['AttributeTypes'] = array(
2760 'BINARY',
2761 'UNSIGNED',
2762 'UNSIGNED ZEROFILL',
2763 'on update CURRENT_TIMESTAMP',
2767 if ($cfg['ShowFunctionFields']) {
2769 * Available functions
2771 * @global array $cfg['Functions']
2773 $cfg['Functions'] = array(
2774 'ABS',
2775 'ACOS',
2776 'ASCII',
2777 'ASIN',
2778 'ATAN',
2779 'BIN',
2780 'BIT_COUNT',
2781 'BIT_LENGTH',
2782 'CEILING',
2783 'CHAR',
2784 'CHAR_LENGTH',
2785 'COMPRESS',
2786 'COS',
2787 'COT',
2788 'CRC32',
2789 'CURDATE',
2790 'CURRENT_USER',
2791 'CURTIME',
2792 'DATE',
2793 'DAYNAME',
2794 'DEGREES',
2795 'DES_DECRYPT',
2796 'DES_ENCRYPT',
2797 'ENCRYPT',
2798 'EXP',
2799 'FLOOR',
2800 'FROM_DAYS',
2801 'FROM_UNIXTIME',
2802 'HEX',
2803 'INET_ATON',
2804 'INET_NTOA',
2805 'LENGTH',
2806 'LN',
2807 'LOG',
2808 'LOG10',
2809 'LOG2',
2810 'LOWER',
2811 'MD5',
2812 'NOW',
2813 'OCT',
2814 'OLD_PASSWORD',
2815 'ORD',
2816 'PASSWORD',
2817 'RADIANS',
2818 'RAND',
2819 'REVERSE',
2820 'ROUND',
2821 'SEC_TO_TIME',
2822 'SHA1',
2823 'SOUNDEX',
2824 'SPACE',
2825 'SQRT',
2826 'STDDEV_POP',
2827 'STDDEV_SAMP',
2828 'TAN',
2829 'TIMESTAMP',
2830 'TIME_TO_SEC',
2831 'UNCOMPRESS',
2832 'UNHEX',
2833 'UNIX_TIMESTAMP',
2834 'UPPER',
2835 'USER',
2836 'UTC_DATE',
2837 'UTC_TIME',
2838 'UTC_TIMESTAMP',
2839 'UUID',
2840 'VAR_POP',
2841 'VAR_SAMP',
2842 'YEAR',
2846 * Which column types will be mapped to which Group?
2848 * @global array $cfg['RestrictColumnTypes']
2850 $cfg['RestrictColumnTypes'] = array(
2851 'TINYINT' => 'FUNC_NUMBER',
2852 'SMALLINT' => 'FUNC_NUMBER',
2853 'MEDIUMINT' => 'FUNC_NUMBER',
2854 'INT' => 'FUNC_NUMBER',
2855 'BIGINT' => 'FUNC_NUMBER',
2856 'DECIMAL' => 'FUNC_NUMBER',
2857 'FLOAT' => 'FUNC_NUMBER',
2858 'DOUBLE' => 'FUNC_NUMBER',
2859 'REAL' => 'FUNC_NUMBER',
2860 'BIT' => 'FUNC_NUMBER',
2861 'BOOLEAN' => 'FUNC_NUMBER',
2862 'SERIAL' => 'FUNC_NUMBER',
2864 'DATE' => 'FUNC_DATE',
2865 'DATETIME' => 'FUNC_DATE',
2866 'TIMESTAMP' => 'FUNC_DATE',
2867 'TIME' => 'FUNC_DATE',
2868 'YEAR' => 'FUNC_DATE',
2870 'CHAR' => 'FUNC_CHAR',
2871 'VARCHAR' => 'FUNC_CHAR',
2872 'TINYTEXT' => 'FUNC_CHAR',
2873 'TEXT' => 'FUNC_CHAR',
2874 'MEDIUMTEXT' => 'FUNC_CHAR',
2875 'LONGTEXT' => 'FUNC_CHAR',
2876 'BINARY' => 'FUNC_CHAR',
2877 'VARBINARY' => 'FUNC_CHAR',
2878 'TINYBLOB' => 'FUNC_CHAR',
2879 'MEDIUMBLOB' => 'FUNC_CHAR',
2880 'BLOB' => 'FUNC_CHAR',
2881 'LONGBLOB' => 'FUNC_CHAR',
2882 'ENUM' => '',
2883 'SET' => '',
2885 'GEOMETRY' => 'FUNC_SPATIAL',
2886 'POINT' => 'FUNC_SPATIAL',
2887 'LINESTRING' => 'FUNC_SPATIAL',
2888 'POLYGON' => 'FUNC_SPATIAL',
2889 'MULTIPOINT' => 'FUNC_SPATIAL',
2890 'MULTILINESTRING' => 'FUNC_SPATIAL',
2891 'MULTIPOLYGON' => 'FUNC_SPATIAL',
2892 'GEOMETRYCOLLECTION' => 'FUNC_SPATIAL',
2897 * Map above defined groups to any function
2899 * @global array $cfg['RestrictFunctions']
2901 $cfg['RestrictFunctions'] = array(
2902 'FUNC_CHAR' => array(
2903 'BIN',
2904 'CHAR',
2905 'CURRENT_USER',
2906 'COMPRESS',
2907 'DAYNAME',
2908 'DES_DECRYPT',
2909 'DES_ENCRYPT',
2910 'ENCRYPT',
2911 'HEX',
2912 'INET_NTOA',
2913 'LOWER',
2914 'MD5',
2915 'OLD_PASSWORD',
2916 'PASSWORD',
2917 'REVERSE',
2918 'SHA1',
2919 'SOUNDEX',
2920 'SPACE',
2921 'UNCOMPRESS',
2922 'UNHEX',
2923 'UPPER',
2924 'USER',
2925 'UUID',
2928 'FUNC_DATE' => array(
2929 'CURDATE',
2930 'CURTIME',
2931 'DATE',
2932 'FROM_DAYS',
2933 'FROM_UNIXTIME',
2934 'NOW',
2935 'SEC_TO_TIME',
2936 'TIMESTAMP',
2937 'UTC_DATE',
2938 'UTC_TIME',
2939 'UTC_TIMESTAMP',
2940 'YEAR',
2943 'FUNC_NUMBER' => array(
2944 'ABS',
2945 'ACOS',
2946 'ASCII',
2947 'ASIN',
2948 'ATAN',
2949 'BIT_LENGTH',
2950 'BIT_COUNT',
2951 'CEILING',
2952 'CHAR_LENGTH',
2953 'COS',
2954 'COT',
2955 'CRC32',
2956 'DEGREES',
2957 'EXP',
2958 'FLOOR',
2959 'INET_ATON',
2960 'LENGTH',
2961 'LN',
2962 'LOG',
2963 'LOG2',
2964 'LOG10',
2965 'OCT',
2966 'ORD',
2967 'RADIANS',
2968 'RAND',
2969 'ROUND',
2970 'SQRT',
2971 'STDDEV_POP',
2972 'STDDEV_SAMP',
2973 'TAN',
2974 'TIME_TO_SEC',
2975 'UNIX_TIMESTAMP',
2976 'VAR_POP',
2977 'VAR_SAMP',
2980 'FUNC_SPATIAL' => array(
2981 'GeomFromText',
2982 'GeomFromWKB',
2984 'GeomCollFromText',
2985 'LineFromText',
2986 'MLineFromText',
2987 'PointFromText',
2988 'MPointFromText',
2989 'PolyFromText',
2990 'MPolyFromText',
2992 'GeomCollFromWKB',
2993 'LineFromWKB',
2994 'MLineFromWKB',
2995 'PointFromWKB',
2996 'MPointFromWKB',
2997 'PolyFromWKB',
2998 'MPolyFromWKB',
3003 * Default functions for above defined groups
3005 * @global array $cfg['DefaultFunctions']
3007 $cfg['DefaultFunctions'] = array(
3008 'FUNC_CHAR' => '',
3009 'FUNC_DATE' => '',
3010 'FUNC_NUMBER' => '',
3011 'first_timestamp' => 'NOW',
3012 'pk_char36' => 'UUID',
3016 } // end if
3019 * Search operators
3021 * @global array $cfg['NumOperators']
3023 $cfg['NumOperators'] = array(
3024 '=',
3025 '>',
3026 '>=',
3027 '<',
3028 '<=',
3029 '!=',
3030 'LIKE',
3031 'NOT LIKE',
3032 'IN (...)',
3033 'NOT IN (...)',
3034 'BETWEEN',
3035 'NOT BETWEEN',
3039 * Search operators
3041 * @global array $cfg['TextOperators']
3043 $cfg['TextOperators'] = array(
3044 'LIKE',
3045 'LIKE %...%',
3046 'NOT LIKE',
3047 '=',
3048 '!=',
3049 'REGEXP',
3050 'REGEXP ^...$',
3051 'NOT REGEXP',
3052 "= ''",
3053 "!= ''",
3054 'IN (...)',
3055 'NOT IN (...)',
3056 'BETWEEN',
3057 'NOT BETWEEN',
3061 * Search operators
3063 * @global array $cfg['EnumOperators']
3065 $cfg['EnumOperators'] = array(
3066 '=',
3067 '!=',
3071 * Search operators
3073 * @global array $cfg['SetOperators']
3075 $cfg['SetOperators'] = array(
3076 'IN',
3077 'NOT IN',
3081 * Search operators
3083 * @global array $cfg['NullOperators']
3085 $cfg['NullOperators'] = array(
3086 'IS NULL',
3087 'IS NOT NULL',
3091 * Search operators
3093 * @global array $cfg['UnaryOperators']
3095 $cfg['UnaryOperators'] = array(
3096 'IS NULL' => 1,
3097 'IS NOT NULL' => 1,
3098 "= ''" => 1,
3099 "!= ''" => 1