PageRenderTime 77ms CodeModel.GetById 49ms app.highlight 18ms RepoModel.GetById 1ms app.codeStats 0ms

/phpmyadmin/libraries/config.default.php

https://bitbucket.org/adarshj/convenient_website
PHP | 2925 lines | 516 code | 389 blank | 2020 comment | 1 complexity | a2ee2a7a032433bb8ccb929e0c8f968d MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   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>
  11 *
  12 * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
  13 *
  14 * phpMyAdmin default configuration, you can copy values from here to your
  15 * config.inc.php
  16 *
  17 * All directives are explained in Documentation.html
  18 *
  19 * @package PhpMyAdmin
  20 */
  21
  22/**
  23 * Your phpMyAdmin URL.
  24 *
  25 * Complete the variable below with the full URL ie
  26 *    http://www.your_web.net/path_to_your_phpMyAdmin_directory/
  27 *
  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.
  30 *
  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.
  36 *
  37 * @global string $cfg['PmaAbsoluteUri']
  38 */
  39$cfg['PmaAbsoluteUri'] = '';
  40
  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
  44 *
  45 * @global boolean $cfg['PmaNoRelation_DisableWarning']
  46 */
  47$cfg['PmaNoRelation_DisableWarning'] = false;
  48
  49/**
  50 * Disable the default warning that is displayed if Suhosin is detected
  51 *
  52 * @global boolean $cfg['SuhosinDisableWarning']
  53 */
  54$cfg['SuhosinDisableWarning'] = false;
  55
  56/**
  57 * Disable the default warning that is displayed if mcrypt is missing for
  58 * cookie authentication.
  59 *
  60 * @global boolean $cfg['McryptDisableWarning']
  61 */
  62$cfg['McryptDisableWarning'] = false;
  63
  64/**
  65 * Show warning about incomplete translations on certain threshold.
  66 *
  67 * @global boolean $cfg['TranslationWarningThreshold']
  68 */
  69$cfg['TranslationWarningThreshold'] = 80;
  70
  71/**
  72 * Allows phpMyAdmin to be included from a document located on
  73 * another domain; setting this to true is a potential security hole
  74 *
  75 * @global boolean $cfg['AllowThirdPartyFraming']
  76 */
  77$cfg['AllowThirdPartyFraming'] = false;
  78
  79/**
  80 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
  81 * at least one server configuration uses 'cookie' auth_type, enter here a
  82 * pass phrase that will be used by blowfish. The maximum length seems to be 46
  83 * characters.
  84 *
  85 * @global string $cfg['blowfish_secret']
  86 */
  87$cfg['blowfish_secret'] = '';
  88
  89
  90/*******************************************************************************
  91 * Server(s) configuration
  92 *
  93 * The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use
  94 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
  95 * to ''. If you want more than one server, just copy following section
  96 * (including $i incrementation) several times. There is no need to define
  97 * full server array, just define values you need to change.
  98 *
  99 * @global array $cfg['Servers']
 100 */
 101$cfg['Servers'] = array();
 102
 103$i = 1;
 104
 105/**
 106 * MySQL hostname or IP address
 107 *
 108 * @global string $cfg['Servers'][$i]['host']
 109 */
 110$cfg['Servers'][$i]['host'] = 'localhost';
 111
 112/**
 113 * MySQL port - leave blank for default port
 114 *
 115 * @global string $cfg['Servers'][$i]['port']
 116 */
 117$cfg['Servers'][$i]['port'] = '';
 118
 119/**
 120 * Path to the socket - leave blank for default socket
 121 *
 122 * @global string $cfg['Servers'][$i]['socket']
 123 */
 124$cfg['Servers'][$i]['socket'] = '';
 125
 126/**
 127 * Use SSL for connecting to MySQL server?
 128 *
 129 * @global boolean $cfg['Servers'][$i]['ssl']
 130 */
 131$cfg['Servers'][$i]['ssl'] = false;
 132
 133/**
 134 * How to connect to MySQL server ('tcp' or 'socket')
 135 *
 136 * @global string $cfg['Servers'][$i]['connect_type']
 137 */
 138$cfg['Servers'][$i]['connect_type'] = 'tcp';
 139
 140/**
 141 * The PHP MySQL extension to use ('mysql' or 'mysqli')
 142 *
 143 * @global string $cfg['Servers'][$i]['extension']
 144 */
 145$cfg['Servers'][$i]['extension'] = 'mysqli';
 146
 147/**
 148 * Use compressed protocol for the MySQL connection
 149 *
 150 * @global boolean $cfg['Servers'][$i]['compress']
 151 */
 152$cfg['Servers'][$i]['compress'] = false;
 153
 154/**
 155 * MySQL control host. This permits to use a host different than the
 156 * main host, for the phpMyAdmin configuration storage. If left empty,
 157 * $cfg['Servers'][$i]['host'] is used instead.
 158 *
 159 * @global string $cfg['Servers'][$i]['controlhost']
 160 */
 161$cfg['Servers'][$i]['controlhost'] = '';
 162
 163/**
 164 * MySQL control user settings (this user must have read-only
 165 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
 166 * used for all relational features (pmadb)
 167 *
 168 * @global string $cfg['Servers'][$i]['controluser']
 169 */
 170$cfg['Servers'][$i]['controluser'] = '';
 171
 172/**
 173 * MySQL control user settings (this user must have read-only
 174 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
 175 * used for all relational features (pmadb)
 176 *
 177 * @global string $cfg['Servers'][$i]['controlpass']
 178 */
 179$cfg['Servers'][$i]['controlpass'] = '';
 180
 181/**
 182 * Authentication method (valid choices: config, http, signon or cookie)
 183 *
 184 * @global string $cfg['Servers'][$i]['auth_type']
 185 */
 186$cfg['Servers'][$i]['auth_type'] = 'cookie';
 187
 188/**
 189 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
 190 *
 191 * @global string $cfg['Servers'][$i]['auth_http_realm']
 192 */
 193$cfg['Servers'][$i]['auth_http_realm'] = '';
 194
 195/**
 196 * File containing Swekey ids and login names (see /contrib);
 197 * leave empty to deactivate Swekey hardware authentication
 198 *
 199 * @global string $cfg['Servers'][$i]['auth_swekey_config']
 200 */
 201$cfg['Servers'][$i]['auth_swekey_config'] = '';
 202
 203/**
 204 * MySQL user
 205 *
 206 * @global string $cfg['Servers'][$i]['user']
 207 */
 208$cfg['Servers'][$i]['user'] = 'root';
 209
 210/**
 211 * MySQL password (only needed with 'config' auth_type)
 212 *
 213 * @global string $cfg['Servers'][$i]['password']
 214 */
 215$cfg['Servers'][$i]['password'] = '';
 216
 217/**
 218 * Session to use for 'signon' authentication method
 219 *
 220 * @global string $cfg['Servers'][$i]['SignonSession']
 221 */
 222$cfg['Servers'][$i]['SignonSession'] = '';
 223
 224/**
 225 * PHP script to use for 'signon' authentication method
 226 *
 227 * @global string $cfg['Servers'][$i]['SignonScript']
 228 */
 229$cfg['Servers'][$i]['SignonScript'] = '';
 230
 231/**
 232 * URL where to redirect user to login for 'signon' authentication method
 233 *
 234 * @global string $cfg['Servers'][$i]['SignonURL']
 235 */
 236$cfg['Servers'][$i]['SignonURL'] = '';
 237
 238/**
 239 * URL where to redirect user after logout
 240 *
 241 * @global string $cfg['Servers'][$i]['LogoutURL']
 242 */
 243$cfg['Servers'][$i]['LogoutURL'] = '';
 244
 245/**
 246 * Whether to try to connect without password
 247 *
 248 * @global boolean $cfg['Servers'][$i]['nopassword']
 249 */
 250$cfg['Servers'][$i]['nopassword'] = false;
 251
 252/**
 253 * If set to a db-name, only this db is displayed in left frame
 254 * It may also be an array of db-names, where sorting order is relevant.
 255 *
 256 * @global string $cfg['Servers'][$i]['only_db']
 257 */
 258$cfg['Servers'][$i]['only_db'] = '';
 259
 260/**
 261 * Database name to be hidden from listings
 262 *
 263 * @global string $cfg['Servers'][$i]['hide_db']
 264 */
 265$cfg['Servers'][$i]['hide_db'] = '';
 266
 267/**
 268 * Verbose name for this host - leave blank to show the hostname
 269 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
 270 *
 271 * @global string $cfg['Servers'][$i]['verbose']
 272 */
 273$cfg['Servers'][$i]['verbose'] = '';
 274
 275/**
 276 * Database used for Relation, Bookmark and PDF Features
 277 * (see examples/create_tables.sql)
 278 *   - leave blank for no support
 279 *     SUGGESTED: 'phpmyadmin'
 280 *
 281 * @global string $cfg['Servers'][$i]['pmadb']
 282 */
 283$cfg['Servers'][$i]['pmadb'] = '';
 284
 285/**
 286 * Bookmark table
 287 *   - leave blank for no bookmark support
 288 *     SUGGESTED: 'pma_bookmark'
 289 *
 290 * @global string $cfg['Servers'][$i]['bookmarktable']
 291 */
 292$cfg['Servers'][$i]['bookmarktable'] = '';
 293
 294/**
 295 * table to describe the relation between links (see doc)
 296 *   - leave blank for no relation-links support
 297 *     SUGGESTED: 'pma_relation'
 298 *
 299 * @global string $cfg['Servers'][$i]['relation']
 300 */
 301$cfg['Servers'][$i]['relation'] = '';
 302
 303/**
 304 * table to describe the display fields
 305 *   - leave blank for no display fields support
 306 *     SUGGESTED: 'pma_table_info'
 307 *
 308 * @global string $cfg['Servers'][$i]['table_info']
 309 */
 310$cfg['Servers'][$i]['table_info'] = '';
 311
 312/**
 313 * table to describe the tables position for the PDF schema
 314 *   - leave blank for no PDF schema support
 315 *     SUGGESTED: 'pma_table_coords'
 316 *
 317 * @global string $cfg['Servers'][$i]['table_coords']
 318 */
 319$cfg['Servers'][$i]['table_coords'] = '';
 320
 321/**
 322 * table to describe pages of relationpdf
 323 *   - leave blank if you don't want to use this
 324 *     SUGGESTED: 'pma_pdf_pages'
 325 *
 326 * @global string $cfg['Servers'][$i]['pdf_pages']
 327 */
 328$cfg['Servers'][$i]['pdf_pages'] = '';
 329
 330/**
 331 * table to store column information
 332 *   - leave blank for no column comments/mime types
 333 *     SUGGESTED: 'pma_column_info'
 334 *
 335 * @global string $cfg['Servers'][$i]['column_info']
 336 */
 337$cfg['Servers'][$i]['column_info'] = '';
 338
 339/**
 340 * table to store SQL history
 341 *   - leave blank for no SQL query history
 342 *     SUGGESTED: 'pma_history'
 343 *
 344 * @global string $cfg['Servers'][$i]['history']
 345 */
 346$cfg['Servers'][$i]['history'] = '';
 347
 348/**
 349 * table to store the coordinates for Designer
 350 *   - leave blank for no Designer feature
 351 *     SUGGESTED: 'pma_designer_coords'
 352 *
 353 * @global string $cfg['Servers'][$i]['designer_coords']
 354 */
 355$cfg['Servers'][$i]['designer_coords'] = '';
 356
 357/**
 358 * table to store recently used tables
 359 *   - leave blank for no "persistent" recently used tables
 360 *     SUGGESTED: 'pma_recent'
 361 */
 362$cfg['Servers'][$i]['recent'] = '';
 363
 364/**
 365 * table to store UI preferences for tables
 366 *   - leave blank for no "persistent" UI preferences
 367 *     SUGGESTED: 'pma_table_uiprefs'
 368 */
 369$cfg['Servers'][$i]['table_uiprefs'] = '';
 370
 371/**
 372 * table to store SQL tracking
 373 *   - leave blank for no SQL tracking
 374 *     SUGGESTED: 'pma_tracking'
 375 *
 376 * @global string $cfg['Servers'][$i]['tracking']
 377 */
 378$cfg['Servers'][$i]['tracking'] = '';
 379
 380/**
 381 * table to store user preferences
 382 *   - leave blank to disable server storage
 383 *     SUGGESTED: 'pma_userconfig'
 384 *
 385 * @global string $cfg['Servers'][$i]['userconfig']
 386 */
 387$cfg['Servers'][$i]['userconfig'] = '';
 388
 389/**
 390 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
 391 *
 392 * In case where tables in databases is modified (e.g. dropped or renamed),
 393 * table_uiprefs may contains invalid data (referring to tables which are not
 394 * exist anymore).
 395 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
 396 * newest record in table_uiprefs and automatically delete older records.
 397 *
 398 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
 399 */
 400$cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
 401
 402/**
 403 * set to false if you know that your pma_* tables are up to date.
 404 * This prevents compatibility checks and thereby increases performance.
 405 *
 406 * @global boolean $cfg['Servers'][$i]['verbose_check']
 407 */
 408$cfg['Servers'][$i]['verbose_check'] = true;
 409
 410/**
 411 * whether to allow root login
 412 *
 413 * @global boolean $cfg['Servers'][$i]['AllowRoot']
 414 */
 415$cfg['Servers'][$i]['AllowRoot'] = true;
 416
 417/**
 418 * whether to allow login of any user without a password
 419 *
 420 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
 421 */
 422$cfg['Servers'][$i]['AllowNoPassword'] = false;
 423
 424/**
 425 * Host authentication order, leave blank to not use
 426 *
 427 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
 428 */
 429$cfg['Servers'][$i]['AllowDeny']['order'] = '';
 430
 431/**
 432 * Host authentication rules, leave blank for defaults
 433 *
 434 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
 435 */
 436$cfg['Servers'][$i]['AllowDeny']['rules'] = array();
 437
 438/**
 439 * Disable use of INFORMATION_SCHEMA. Is always 'true' for Drizzle.
 440 *
 441 * @see http://sf.net/support/tracker.php?aid=1849494
 442 * @see http://bugs.mysql.com/19588
 443 * @global boolean $cfg['Servers'][$i]['DisableIS']
 444 */
 445$cfg['Servers'][$i]['DisableIS'] = true;
 446
 447/**
 448 * SQL command to fetch available databases
 449 *
 450 * by default most user will be fine with SHOW DATABASES,
 451 * for servers with a huge amount of databases it is possible to
 452 * define a command which executes faster but with less information
 453 *
 454 * especially when accessing database servers from ISPs changing this command
 455 * can result in a great speed improvement
 456 *
 457 * false will disable fetching databases from the server, only databases in
 458 * $cfg['Servers'][$i]['only_db'] will be displayed
 459 *
 460 * #user# will be replaced by current user
 461 *
 462 * examples:
 463 * 'SHOW DATABASES'
 464 * "SHOW DATABASES LIKE '#user#\_%'"
 465 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
 466 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
 467 * false
 468 *
 469 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
 470 */
 471$cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
 472
 473/**
 474 * Whether to count tables when showing database list
 475 *
 476 * @global array $cfg['Servers'][$i]['CountTables']
 477 */
 478$cfg['Servers'][$i]['CountTables'] = false;
 479
 480/**
 481 * Whether the tracking mechanism creates versions for tables and views automatically.
 482 *
 483 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
 484 */
 485
 486$cfg['Servers'][$i]['tracking_version_auto_create'] = false;
 487
 488/**
 489 * Defines the list of statements the auto-creation uses for new versions.
 490 *
 491 * @global string $cfg['Servers'][$i]['tracking_default_statements']
 492 */
 493
 494$cfg['Servers'][$i]['tracking_default_statements'] = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,' .
 495                                          'CREATE INDEX,DROP INDEX,' .
 496                                          'INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,' .
 497                                          'CREATE VIEW,ALTER VIEW,DROP VIEW,' .
 498                                          'CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
 499
 500/**
 501 * Whether a DROP VIEW IF EXISTS statement will be added as first line to the log when creating a view.
 502 *
 503 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
 504 */
 505
 506$cfg['Servers'][$i]['tracking_add_drop_view'] = true;
 507
 508/**
 509 * Whether a DROP TABLE IF EXISTS statement will be added as first line to the log when creating a table.
 510 *
 511 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
 512 */
 513
 514$cfg['Servers'][$i]['tracking_add_drop_table'] = true;
 515
 516/**
 517 * Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.
 518 *
 519 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
 520 */
 521
 522$cfg['Servers'][$i]['tracking_add_drop_database'] = true;
 523
 524/**
 525 * Default server (0 = no default server)
 526 *
 527 * If you have more than one server configured, you can set $cfg['ServerDefault']
 528 * to any one of them to auto-connect to that server when phpMyAdmin is started,
 529 * or set it to 0 to be given a list of servers without logging in
 530 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
 531 * set to that server.
 532 *
 533 * @global integer $cfg['ServerDefault']
 534 */
 535$cfg['ServerDefault'] = 1;
 536
 537/*
 538 * Other core phpMyAdmin settings
 539 */
 540/**
 541 * whether Ajax behavior is active
 542 *
 543 * @global boolean $cfg['AjaxEnable']
 544 */
 545$cfg['AjaxEnable'] = true;
 546
 547/**
 548 * whether version check is active
 549 *
 550 * @global boolean $cfg['VersionCheck']
 551 */
 552$cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
 553
 554/**
 555 * maximum number of db's displayed in left frame and database list
 556 *
 557 * @global integer $cfg['MaxDbList']
 558 */
 559$cfg['MaxDbList'] = 100;
 560
 561/**
 562 * maximum number of tables displayed in table list
 563 *
 564 * @global integer $cfg['MaxTableList']
 565 */
 566$cfg['MaxTableList'] = 250;
 567
 568/**
 569 * whether to show hint or not
 570 *
 571 * @global boolean $cfg['ShowHint']
 572 */
 573$cfg['ShowHint'] = true;
 574
 575/**
 576 * maximum number of characters when a SQL query is displayed
 577 *
 578 * @global integer $cfg['MaxCharactersInDisplayedSQL']
 579 */
 580$cfg['MaxCharactersInDisplayedSQL'] = 1000;
 581
 582/**
 583 * use GZIP output buffering if possible (true|false|'auto')
 584 *
 585 * @global string $cfg['OBGzip']
 586 */
 587$cfg['OBGzip'] = 'auto';
 588
 589/**
 590 * use persistent connections to MySQL database
 591 *
 592 * @global boolean $cfg['PersistentConnections']
 593 */
 594$cfg['PersistentConnections'] = false;
 595
 596/**
 597 * whether to force using HTTPS
 598 *
 599 * @global boolean $cfg['ForceSSL']
 600 */
 601$cfg['ForceSSL'] = false;
 602
 603/**
 604 * maximum execution time in seconds (0 for no limit)
 605 *
 606 * @global integer $cfg['ExecTimeLimit']
 607 */
 608$cfg['ExecTimeLimit'] = 300;
 609
 610/**
 611 * Path for storing session data (session_save_path PHP parameter).
 612 *
 613 * @global integer $cfg['SessionSavePath']
 614 */
 615$cfg['SessionSavePath'] = '';
 616
 617/**
 618 * maximum allocated bytes ('0' for no limit)
 619 * this is a string because '16M' is a valid value; we must put here
 620 * a string as the default value so that /setup accepts strings
 621 *
 622 * @global string $cfg['MemoryLimit']
 623 */
 624$cfg['MemoryLimit'] = '0';
 625
 626/**
 627 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
 628 * Is ignored for Drizzle.
 629 *
 630 * @global boolean $cfg['SkipLockedTables']
 631 */
 632$cfg['SkipLockedTables'] = false;
 633
 634/**
 635 * show SQL queries as run
 636 *
 637 * @global boolean $cfg['ShowSQL']
 638 */
 639$cfg['ShowSQL'] = true;
 640
 641/**
 642 * retain SQL input on Ajax execute
 643 *
 644 * @global boolean $cfg['RetainQueryEditor']
 645 */
 646$cfg['RetainQueryBox'] = false;
 647
 648/**
 649 * show a 'Drop database' link to normal users
 650 *
 651 * @global boolean $cfg['AllowUserDropDatabase']
 652 */
 653$cfg['AllowUserDropDatabase'] = false;
 654
 655/**
 656 * confirm some commands that can result in loss of data
 657 * (see "need_confirm" in the parser)
 658 *
 659 * @global boolean $cfg['Confirm']
 660 */
 661$cfg['Confirm'] = true;
 662
 663/**
 664 * recall previous login in cookie authentication mode or not
 665 *
 666 * @global boolean $cfg['LoginCookieRecall']
 667 */
 668$cfg['LoginCookieRecall'] = true;
 669
 670/**
 671 * validity of cookie login (in seconds; 1440 matches php.ini's
 672 * session.gc_maxlifetime)
 673 *
 674 * @global integer $cfg['LoginCookieValidity']
 675 */
 676$cfg['LoginCookieValidity'] = 1440;
 677
 678/**
 679 * how long login cookie should be stored (in seconds)
 680 *
 681 * @global integer $cfg['LoginCookieStore']
 682 */
 683$cfg['LoginCookieStore'] = 0;
 684
 685/**
 686 * whether to delete all login cookies on logout
 687 *
 688 * @global boolean $cfg['LoginCookieDeleteAll']
 689 */
 690$cfg['LoginCookieDeleteAll'] = true;
 691
 692/**
 693 * whether to enable the "database search" feature or not
 694 *
 695 * @global boolean $cfg['UseDbSearch']
 696 */
 697$cfg['UseDbSearch'] = true;
 698
 699/**
 700 * if set to true, PMA continues computing multiple-statement queries
 701 * even if one of the queries failed
 702 *
 703 * @global boolean $cfg['IgnoreMultiSubmitErrors']
 704 */
 705$cfg['IgnoreMultiSubmitErrors'] = false;
 706
 707/**
 708 * if set to true, PMA will show the affected rows of EACH statement on
 709 * multiple-statement queries. See the libraries/import.php file for
 710 * hard coded defaults on how many queries a statement may contain!
 711 *
 712 * @global boolean $cfg['VerboseMultiSubmit']
 713 */
 714$cfg['VerboseMultiSubmit'] = true;
 715
 716/**
 717 * allow login to any user entered server in cookie based authentication
 718 *
 719 * @global boolean $cfg['AllowArbitraryServer']
 720 */
 721$cfg['AllowArbitraryServer'] = false;
 722
 723
 724/*******************************************************************************
 725 * Error handler configuration
 726 *
 727 * this configures phpMyAdmin's own error handler, it is used to avoid information
 728 * disclosure, gather errors for logging, reporting and displaying
 729 *
 730 * @global array $cfg['Error_Handler']
 731 */
 732$cfg['Error_Handler'] = array();
 733
 734/**
 735 * whether to display errors or not
 736 *
 737 * this does not affect errors of type  E_USER_*
 738 *
 739 * @global boolean $cfg['Error_Handler']['display']
 740 */
 741$cfg['Error_Handler']['display'] = false;
 742
 743/**
 744 * (NOT IMPLEMENTED YET)
 745 * where to log errors, false or empty to disable
 746 *
 747 * <code>
 748 * // EXAMPLE log to std PHP error log
 749 * $cfg['Error_Handler']['log'] = array(0);
 750 * // EXAMPLE mail errors
 751 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
 752 * // EXAMPLE append to specific file
 753 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
 754 * </code>
 755 *
 756 * @see     http://php.net/error_log
 757 * @global  string $cfg['Error_Handler']['log']
 758 */
 759//$cfg['Error_Handler']['log'] = false;
 760
 761/**
 762 * gather all errors in session to be displayed on a error reporting page
 763 * for viewing and/or sending to phpMyAdmin developer team
 764 *
 765 * @global boolean $cfg['Error_Handler']['gather']
 766 */
 767$cfg['Error_Handler']['gather'] = false;
 768
 769
 770/*******************************************************************************
 771 * Left frame setup
 772 */
 773
 774/**
 775 * use a select-based menu and display only the current tables in the left frame.
 776 *
 777 * @global boolean $cfg['LeftFrameLight']
 778 */
 779$cfg['LeftFrameLight'] = true;
 780
 781/**
 782 * turn the select-based light menu into a tree
 783 *
 784 * @global boolean $cfg['LeftFrameDBTree']
 785 */
 786$cfg['LeftFrameDBTree'] = true;
 787
 788/**
 789 * the separator to sub-tree the select-based light menu tree
 790 *
 791 * @global string $cfg['LeftFrameDBSeparator']
 792 */
 793$cfg['LeftFrameDBSeparator'] = '_';
 794
 795/**
 796 * Which string will be used to generate table prefixes
 797 * to split/nest tables into multiple categories
 798 *
 799 * @global string $cfg['LeftFrameTableSeparator']
 800 */
 801$cfg['LeftFrameTableSeparator']= '__';
 802
 803/**
 804 * How many sublevels should be displayed when splitting up tables by the above Separator
 805 *
 806 * @global integer $cfg['LeftFrameTableLevel']
 807 */
 808$cfg['LeftFrameTableLevel'] = 1;
 809
 810/**
 811 * display table comment as tooltip in left frame
 812 *
 813 * @global boolean $cfg['ShowTooltip']
 814 */
 815$cfg['ShowTooltip'] = true;
 816
 817/**
 818 * if ShowToolTip is enabled, this defines that table/db comments
 819 *
 820 * @global boolean $cfg['ShowTooltipAliasDB']
 821 */
 822$cfg['ShowTooltipAliasDB'] = false;
 823
 824/**
 825 * are shown (in the left menu and db_structure) instead of table/db names.
 826 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
 827 * descriptors, not the table itself.
 828 *
 829 * @global boolean $cfg['ShowTooltipAliasTB']
 830 */
 831$cfg['ShowTooltipAliasTB'] = false;
 832
 833/**
 834 * display logo at top of left frame
 835 *
 836 * @global boolean $cfg['LeftDisplayLogo']
 837 */
 838$cfg['LeftDisplayLogo'] = true;
 839
 840/**
 841 * where should logo link point to (can also contain an external URL)
 842 *
 843 * @global string $cfg['LeftLogoLink']
 844 */
 845$cfg['LeftLogoLink'] = 'main.php';
 846
 847/**
 848 * whether to open the linked page in the main window ('main') or
 849 * in a new window ('new')
 850 *
 851 * @global string $cfg['LeftLogoLinkWindow']
 852 */
 853$cfg['LeftLogoLinkWindow'] = 'main';
 854
 855/**
 856 * number of recently used tables displayed in the navigation frame
 857 *
 858 * @global integer $cfg['LeftRecentTable']
 859 */
 860$cfg['LeftRecentTable'] = 10;
 861
 862/**
 863 * display a JavaScript table filter in the left frame
 864 * when more then x tables are present
 865 *
 866 * @global boolean $cfg['LeftDisplayTableFilterMinimum']
 867 */
 868$cfg['LeftDisplayTableFilterMinimum'] = 30;
 869
 870/**
 871 * display server choice at top of left frame
 872 *
 873 * @global boolean $cfg['LeftDisplayServers']
 874 */
 875$cfg['LeftDisplayServers'] = false;
 876
 877/**
 878 * server choice as links
 879 *
 880 * @global boolean $cfg['DisplayServersList']
 881 */
 882$cfg['DisplayServersList'] = false;
 883
 884/**
 885 * database choice in light as links
 886 *
 887 * @global boolean $cfg['DisplayDatabasesList']
 888 */
 889$cfg['DisplayDatabasesList'] = 'auto';
 890
 891/**
 892 * target of the navigation panel quick access icon
 893 *
 894 * Possible values:
 895 * 'tbl_structure.php' = fields list
 896 * 'tbl_sql.php' = SQL form
 897 * 'tbl_select.php' = search page
 898 * 'tbl_change.php' = insert row page
 899 * 'sql.php' = browse page
 900 *
 901 * @global string $cfg['LeftDefaultTabTable']
 902 */
 903$cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
 904
 905
 906/*******************************************************************************
 907 * In the main frame, at startup...
 908 */
 909
 910/**
 911 * allow to display statistics and space usage in the pages about database
 912 * details and table properties
 913 *
 914 * @global boolean $cfg['ShowStats']
 915 */
 916$cfg['ShowStats'] = true;
 917
 918/**
 919 * show PHP info link
 920 *
 921 * @global boolean $cfg['ShowPhpInfo']
 922 */
 923$cfg['ShowPhpInfo'] = false;
 924
 925/**
 926 * show MySQL server and web server information
 927 *
 928 * @global boolean $cfg['ShowServerInfo']
 929 */
 930$cfg['ShowServerInfo'] = true;
 931
 932/**
 933 * show change password link
 934 *
 935 * @global boolean $cfg['ShowChgPassword']
 936 */
 937$cfg['ShowChgPassword'] = true;
 938
 939/**
 940 * show create database form
 941 *
 942 * @global boolean $cfg['ShowCreateDb']
 943 */
 944$cfg['ShowCreateDb'] = true;
 945
 946/**
 947 * suggest a new DB name if possible (false = keep empty)
 948 *
 949 * @global boolean $cfg['SuggestDBName']
 950 */
 951$cfg['SuggestDBName'] = true;
 952
 953
 954/*******************************************************************************
 955 * In browse mode...
 956 */
 957
 958/**
 959 * Use icons instead of text for the navigation bar buttons
 960 * and on right panel top menu (server db table) (true|false|'both')
 961 *
 962 * @global string $cfg['NavigationBarIconic']
 963 */
 964$cfg['NavigationBarIconic'] = true;
 965
 966/**
 967 * Defines whether a user should be displayed a "show all (records)"
 968 * button in browse mode or not.
 969 *
 970 * @global boolean $cfg['ShowAll']
 971 */
 972$cfg['ShowAll'] = false;
 973
 974/**
 975 * Number of rows displayed when browsing a result set. If the result
 976 * set contains more rows, "Previous" and "Next".
 977 *
 978 * @global integer $cfg['MaxRows']
 979 */
 980$cfg['MaxRows'] = 30;
 981
 982/**
 983 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
 984 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
 985 * ascending order else-)
 986 *
 987 * @global string $cfg['Order']
 988 */
 989$cfg['Order'] = 'SMART';
 990
 991/**
 992 * default for 'Show binary contents as HEX'
 993 *
 994 * @global string $cfg['DisplayBinaryAsHex']
 995 */
 996$cfg['DisplayBinaryAsHex'] = true;
 997
 998
 999/*******************************************************************************
1000 * In edit mode...
1001 */
1002
1003/**
1004 * disallow editing of binary fields
1005 * valid values are:
1006 *   false  allow editing
1007 *   'blob' allow editing except for BLOB fields
1008 *   'all'  disallow editing
1009 *
1010 * @global string $cfg['ProtectBinary']
1011 */
1012$cfg['ProtectBinary'] = 'blob';
1013
1014/**
1015 * Display the function fields in edit/insert mode
1016 *
1017 * @global boolean $cfg['ShowFunctionFields']
1018 */
1019$cfg['ShowFunctionFields'] = true;
1020
1021/**
1022 * Display the type fields in edit/insert mode
1023 *
1024 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1025 */
1026$cfg['ShowFieldTypesInDataEditView'] = true;
1027
1028/**
1029 * Which editor should be used for CHAR/VARCHAR fields:
1030 *  input - allows limiting of input length
1031 *  textarea - allows newlines in fields
1032 *
1033 * @global string $cfg['CharEditing']
1034 */
1035$cfg['CharEditing'] = 'input';
1036
1037/**
1038 * The minimum size for character input fields
1039 *
1040 * @global integer $cfg['MinSizeForInputField']
1041 */
1042$cfg['MinSizeForInputField'] = 4;
1043
1044/**
1045 * The maximum size for character input fields
1046 *
1047 * @global integer $cfg['MinSizeForInputField']
1048 */
1049$cfg['MaxSizeForInputField'] = 60;
1050
1051/**
1052 * How many rows can be inserted at one time
1053 *
1054 * @global integer $cfg['InsertRows']
1055 */
1056$cfg['InsertRows'] = 2;
1057
1058/**
1059 * Sort order for items in a foreign-key drop-down list.
1060 * 'content' is the referenced data, 'id' is the key value.
1061 *
1062 * @global array $cfg['ForeignKeyDropdownOrder']
1063 */
1064$cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
1065
1066/**
1067 * A drop-down list will be used if fewer items are present
1068 *
1069 * @global integer $cfg['ForeignKeyMaxLimit']
1070 */
1071$cfg['ForeignKeyMaxLimit'] = 100;
1072
1073
1074/*******************************************************************************
1075 * For the export features...
1076 */
1077
1078/**
1079 * Allow for the use of zip compression (requires zip support to be enabled)
1080 *
1081 * @global boolean $cfg['ZipDump']
1082 */
1083$cfg['ZipDump'] = true;
1084
1085/**
1086 * Allow for the use of gzip compression (requires zlib)
1087 *
1088 * @global boolean $cfg['GZipDump']
1089 */
1090$cfg['GZipDump'] = true;
1091
1092/**
1093 * Allow for the use of bzip2 compression (requires bz2 extension)
1094 *
1095 * @global boolean $cfg['BZipDump']
1096 */
1097$cfg['BZipDump'] = true;
1098
1099/**
1100 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
1101 * If you encounter problems with created gzip/bzip2 files disable this feature.
1102 *
1103 * @global boolean $cfg['CompressOnFly']
1104 */
1105$cfg['CompressOnFly'] = true;
1106
1107
1108/*******************************************************************************
1109 * Tabs display settings
1110 */
1111
1112/**
1113 * Use graphically less intense menu tabs
1114 *
1115 * @global boolean $cfg['LightTabs']
1116 */
1117$cfg['LightTabs'] = false;
1118
1119/**
1120 * Use icons instead of text for the table display of a database (true|false|'both')
1121 *
1122 * @global boolean $cfg['PropertiesIconic']
1123 */
1124$cfg['PropertiesIconic'] = 'both';
1125
1126/**
1127 * How many columns should be used for table display of a database?
1128 * (a value larger than 1 results in some information being hidden)
1129 *
1130 * @global integer $cfg['PropertiesNumColumns']
1131 */
1132$cfg['PropertiesNumColumns'] = 1;
1133
1134/**
1135 * Possible values:
1136 * 'main.php' = the welcome page
1137 * (recommended for multiuser setups)
1138 * 'server_databases.php' = list of databases
1139 * 'server_status.php' = runtime information
1140 * 'server_variables.php' = MySQL server variables
1141 * 'server_privileges.php' = user management
1142 * 'server_processlist.php' = process list
1143 *
1144 * @global string $cfg['DefaultTabServer']
1145 */
1146$cfg['DefaultTabServer'] = 'main.php';
1147
1148/**
1149 * Possible values:
1150 * 'db_structure.php' = tables list
1151 * 'db_sql.php' = SQL form
1152 * 'db_search.php' = search query
1153 * 'db_operations.php' = operations on database
1154 *
1155 * @global string $cfg['DefaultTabDatabase']
1156 */
1157$cfg['DefaultTabDatabase'] = 'db_structure.php';
1158
1159/**
1160 * Possible values:
1161 * 'tbl_structure.php' = fields list
1162 * 'tbl_sql.php' = SQL form
1163 * 'tbl_select.php' = search page
1164 * 'tbl_change.php' = insert row page
1165 * 'sql.php' = browse page
1166 *
1167 * @global string $cfg['DefaultTabTable']
1168 */
1169$cfg['DefaultTabTable'] = 'sql.php';
1170
1171/*******************************************************************************
1172 * Export defaults
1173 */
1174$cfg['Export'] = array();
1175
1176/**
1177 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1178 *
1179 * @global string $cfg['Export']['format']
1180 */
1181$cfg['Export']['format'] = 'sql';
1182
1183/**
1184 * quick/custom/custom-no-form
1185 *
1186 * @global string $cfg['Export']['format']
1187 */
1188$cfg['Export']['method'] = 'quick';
1189
1190/**
1191 * none/zip/gzip/bzip2
1192 *
1193 * @global string $cfg['Export']['compression']
1194 */
1195$cfg['Export']['compression'] = 'none';
1196
1197/**
1198 *
1199 *
1200 * @global boolean $cfg['Export']['asfile']
1201 */
1202$cfg['Export']['asfile'] = true;
1203
1204/**
1205 *
1206 *
1207 * @global string $cfg['Export']['charset']
1208 */
1209$cfg['Export']['charset'] = '';
1210
1211/**
1212 *
1213 *
1214 * @global boolean $cfg['Export']['onserver']
1215 */
1216$cfg['Export']['onserver'] = false;
1217
1218/**
1219 *
1220 *
1221 * @global boolean $cfg['Export']['onserver_overwrite']
1222 */
1223$cfg['Export']['onserver_overwrite'] = false;
1224
1225/**
1226 *
1227 *
1228 * @global boolean $cfg['Export']['quick_export_onserver']
1229 */
1230$cfg['Export']['quick_export_onserver'] = false;
1231
1232/**
1233 *
1234 *
1235 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1236 */
1237$cfg['Export']['quick_export_onserver_overwrite'] = false;
1238
1239/**
1240 *
1241 *
1242 * @global boolean $cfg['Export']['remember_file_template']
1243 */
1244$cfg['Export']['remember_file_template'] = true;
1245
1246/**
1247 *
1248 *
1249 * @global string $cfg['Export']['file_template_table']
1250 */
1251$cfg['Export']['file_template_table'] = '@TABLE@';
1252
1253/**
1254 *
1255 *
1256 * @global string $cfg['Export']['file_template_database']
1257 */
1258$cfg['Export']['file_template_database'] = '@DATABASE@';
1259
1260/**
1261 *
1262 *
1263 * @global string $cfg['Export']['file_template_server']
1264 */
1265$cfg['Export']['file_template_server'] = '@SERVER@';
1266
1267/**
1268 *
1269 *
1270 * @global string $cfg['Export']['codegen_structure_or_data']
1271 */
1272$cfg['Export']['codegen_structure_or_data'] = 'data';
1273
1274/**
1275 *
1276 *
1277 * @global $cfg['Export']['codegen_format']
1278 */
1279$cfg['Export']['codegen_format'] = 0;
1280
1281/**
1282 *
1283 *
1284 * @global boolean $cfg['Export']['ods_columns']
1285 */
1286$cfg['Export']['ods_columns'] = false;
1287
1288/**
1289 *
1290 *
1291 * @global string $cfg['Export']['ods_null']
1292 */
1293$cfg['Export']['ods_null'] = 'NULL';
1294
1295/**
1296 *
1297 *
1298 * @global string $cfg['Export']['odt_structure_or_data']
1299 */
1300$cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1301
1302/**
1303 *
1304 *
1305 * @global boolean $cfg['Export']['odt_columns']
1306 */
1307$cfg['Export']['odt_columns'] = true;
1308
1309/**
1310 *
1311 *
1312 * @global boolean $cfg['Export']['odt_relation']
1313 */
1314$cfg['Export']['odt_relation'] = true;
1315
1316/**
1317 *
1318 *
1319 * @global boolean $cfg['Export']['odt_comments']
1320 */
1321$cfg['Export']['odt_comments'] = true;
1322
1323/**
1324 *
1325 *
1326 * @global boolean $cfg['Export']['odt_mime']
1327 */
1328$cfg['Export']['odt_mime'] = true;
1329
1330/**
1331 *
1332 *
1333 * @global string $cfg['Export']['odt_null']
1334 */
1335$cfg['Export']['odt_null'] = 'NULL';
1336
1337/**
1338 *
1339 *
1340 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1341 */
1342$cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1343
1344/**
1345 *
1346 *
1347 * @global boolean $cfg['Export']['htmlword_columns']
1348 */
1349$cfg['Export']['htmlword_columns'] = false;
1350
1351/**
1352 *
1353 *
1354 * @global string $cfg['Export']['htmlword_null']
1355 */
1356$cfg['Export']['htmlword_null'] = 'NULL';
1357
1358/**
1359 *
1360 *
1361 * @global string $cfg['Export']['texytext_structure_or_data']
1362 */
1363$cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1364
1365/**
1366 *
1367 *
1368 * @global boolean $cfg['Export']['texytext_columns']
1369 */
1370$cfg['Export']['texytext_columns'] = false;
1371
1372/**
1373 *
1374 *
1375 * @global string $cfg['Export']['texytext_null']
1376 */
1377$cfg['Export']['texytext_null'] = 'NULL';
1378
1379/**
1380 *
1381 *
1382 * @global boolean $cfg['Export']['xls_columns']
1383 */
1384$cfg['Export']['xls_columns'] = false;
1385
1386/**
1387 *
1388 *
1389 * @global string $cfg['Export']['xls_structure_or_data']
1390 */
1391$cfg['Export']['xls_structure_or_data'] = 'data';
1392
1393/**
1394 *
1395 *
1396 * @global string $cfg['Export']['xls_null']
1397 */
1398$cfg['Export']['xls_null'] = 'NULL';
1399
1400/**
1401 *
1402 *
1403 * @global boolean $cfg['Export']['xlsx_columns']
1404 */
1405$cfg['Export']['xlsx_columns'] = false;
1406
1407/**
1408 *
1409 *
1410 * @global string $cfg['Export']['xlsx_structure_or_data']
1411 */
1412$cfg['Export']['xlsx_structure_or_data'] = 'data';
1413
1414/**
1415 *
1416 *
1417 * @global string $cfg['Export']['xlsx_null']
1418 */
1419$cfg['Export']['xlsx_null'] = 'NULL';
1420
1421/**
1422 *
1423 *
1424 * @global boolean $cfg['Export']['csv_columns']
1425 */
1426$cfg['Export']['csv_columns'] = false;
1427
1428/**
1429 *
1430 *
1431 * @global string $cfg['Export']['csv_structure_or_data']
1432 */
1433$cfg['Export']['csv_structure_or_data'] = 'data';
1434
1435/**
1436 *
1437 *
1438 * @global string $cfg['Export']['csv_null']
1439 */
1440$cfg['Export']['csv_null'] = 'NULL';
1441
1442/**
1443 *
1444 *
1445 * @global string $cfg['Export']['csv_separator']
1446 */
1447$cfg['Export']['csv_separator'] = ',';
1448
1449/**
1450 *
1451 *
1452 * @global string $cfg['Export']['csv_enclosed']
1453 */
1454$cfg['Export']['csv_enclosed'] = '"';
1455
1456/**
1457 *
1458 *
1459 * @global string $cfg['Export']['csv_escaped']
1460 */
1461$cfg['Export']['csv_escaped'] = '"';
1462
1463/**
1464 *
1465 *
1466 * @global string $cfg['Export']['csv_terminated']
1467 */
1468$cfg['Export']['csv_terminated'] = 'AUTO';
1469
1470/**
1471 *
1472 *
1473 * @global string $cfg['Export']['csv_removeCRLF']
1474 */
1475$cfg['Export']['csv_removeCRLF'] = false;
1476
1477/**
1478 *
1479 *
1480 * @global boolean $cfg['Export']['excel_columns']
1481 */
1482$cfg['Export']['excel_columns'] = false;
1483
1484/**
1485 *
1486 *
1487 * @global string $cfg['Export']['excel_null']
1488 */
1489$cfg['Export']['excel_null'] = 'NULL';
1490
1491/**
1492 * win/mac
1493 *
1494 * @global string $cfg['Export']['excel_edition']
1495 */
1496$cfg['Export']['excel_edition'] = 'win';
1497
1498/**
1499 *
1500 *
1501 * @global string $cfg['Export']['excel_removeCRLF']
1502 */
1503$cfg['Export']['excel_removeCRLF'] = false;
1504
1505/**
1506 *
1507 *
1508 * @global string $cfg['Export']['excel_structure_or_data']
1509 */
1510$cfg['Export']['excel_structure_or_data'] = 'data';
1511
1512/**
1513 *
1514 *
1515 * @global string $cfg['Export']['latex_structure_or_data']
1516 */
1517$cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1518
1519/**
1520 *
1521 *
1522 * @global boolean $cfg['Export']['latex_columns']
1523 */
1524$cfg['Export']['latex_columns'] = true;
1525
1526/**
1527 *
1528 *
1529 * @global boolean $cfg['Export']['latex_relation']
1530 */
1531$cfg['Export']['latex_relation'] = true;
1532
1533/**
1534 *
1535 *
1536 * @global boolean $cfg['Export']['latex_comments']
1537 */
1538$cfg['Export']['latex_comments'] = true;
1539
1540/**
1541 *
1542 *
1543 * @global boolean $cfg['Export']['latex_mime']
1544 */
1545$cfg['Export']['latex_mime'] = true;
1546
1547/**
1548 *
1549 *
1550 * @global string $cfg['Export']['latex_null']
1551 */
1552$cfg['Export']['latex_null'] = '\textit{NULL}';
1553
1554/**
1555 *
1556 *
1557 * @global boolean $cfg['Export']['latex_caption']
1558 */
1559$cfg['Export']['latex_caption'] = true;
1560
1561/**
1562 *
1563 *
1564 * @global string $cfg['Export']['latex_structure_caption']
1565 */
1566$cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1567
1568/**
1569 *
1570 *
1571 * @global string $cfg['Export']['latex_structure_continued_caption']
1572 */
1573$cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1574
1575/**
1576 *
1577 *
1578 * @global string $cfg['Export']['latex_data_caption']
1579 */
1580$cfg['Export']['latex_data_caption'] = 'strLatexContent';
1581
1582/**
1583 *
1584 *
1585 * @global string $cfg['Export']['latex_data_continued_caption']
1586 */
1587$cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1588
1589/**
1590 *
1591 *
1592 * @global string $cfg['Export']['latex_data_label']
1593 */
1594$cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1595
1596/**
1597 *
1598 *
1599 * @global string $cfg['Export']['latex_structure_label']
1600 */
1601$cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1602
1603/**
1604 *
1605 *
1606 * @global string $cfg['Export']['mediawiki_structure_or_data']
1607 */
1608$cfg['Export']['mediawiki_structure_or_data'] = 'data';
1609
1610/**
1611 *
1612 *
1613 * @global string $cfg['Export']['ods_structure_or_data']
1614 */
1615$cfg['Export']['ods_structure_or_data'] = 'data';
1616
1617/**
1618 *
1619 *
1620 * @global string $cfg['Export']['pdf_structure_or_data']
1621 */
1622$cfg['Export']['pdf_structure_or_data'] = 'data';
1623
1624/**
1625 *
1626 *
1627 * @global string $cfg['Export']['php_array_structure_or_data']
1628 */
1629$cfg['Export']['php_array_structure_or_data'] = 'data';
1630
1631/**
1632 *
1633 *
1634 * @global string $cfg['Export']['json_structure_or_data']
1635 */
1636$cfg['Export']['json_structure_or_data'] = 'data';
1637
1638/**
1639 *
1640 *
1641 * @global string $cfg['Export']['sql_structure_or_data']
1642 */
1643$cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1644
1645/**
1646 *
1647 *
1648 * @global string $cfg['Export']['sql_compatibility']
1649 */
1650$cfg['Export']['sql_compatibility'] = 'NONE';
1651
1652/**
1653 * Whether to include comments in SQL export.
1654 *
1655 * @global string $cfg['Export']['sql_include_comments']
1656 */
1657$cfg['Export']['sql_include_comments'] = true;
1658
1659/**
1660 *
1661 *
1662 * @global boolean $cfg['Export']['sql_disable_fk']
1663 */
1664$cfg['Export']['sql_disable_fk'] = false;
1665
1666/**
1667 *
1668 *
1669 * @global boolean $cfg['Export']['sql_use_transaction']
1670 */
1671$cfg['Export']['sql_use_transaction'] = false;
1672
1673/**
1674 *
1675 *
1676 * @global boolean $cfg['Export']['sql_drop_database']
1677 */
1678$cfg['Export']['sql_drop_database'] = false;
1679
1680/**
1681 *
1682 *
1683 * @global boolean $cfg['Export']['sql_drop_table']
1684 */
1685$cfg['Export']['sql_drop_table'] = false;
1686
1687/**
1688 *
1689 *
1690 * true by default for correct behavior when dealing with exporting
1691 * of VIEWs and the stand-in table
1692 * @global boolean $cfg['Export']['sql_if_not_exists']
1693 */
1694$cfg['Export']['sql_if_not_exists'] = true;
1695
1696/**
1697 *
1698 *
1699 * @global boolean $cfg['Export']['sql_procedure_function']
1700 */
1701$cfg['Export']['sql_procedure_function'] = true;
1702
1703/**
1704 *
1705 *
1706 * @global boolean $cfg['Export']['sql_auto_increment']
1707 */
1708$cfg['Export']['sql_auto_increment'] = true;
1709
1710/**
1711 *
1712 *
1713 * @global boolean $cfg['Export']['sql_backquotes']
1714 */
1715$cfg['Export']['sql_backquotes'] = true;
1716
1717/**
1718 *
1719 *
1720 * @global boolean $cfg['Export']['sql_dates']
1721 */
1722$cfg['Export']['sql_dates'] = false;
1723
1724/**
1725 *
1726 *
1727 * @global boolean $cfg['Export']['sql_relation']
1728 */
1729$cfg['Export']['sql_relation'] = false;
1730
1731/**
1732 *
1733 *
1734 * @global boolean $cfg['Export']['sql_delayed']
1735 */
1736$cfg['Export']['sql_delayed'] = false;
1737
1738/**
1739 *
1740 *
1741 * @global boolean $cfg['Export']['sql_ignore']
1742 */
1743$cfg['Export']['sql_ignore'] = false;
1744
1745/**
1746 * Export time in UTC.
1747 *
1748 * @global boolean $cfg['Export']['sql_utc_time']
1749 */
1750$cfg['Export']['sql_utc_time'] = true;
1751
1752/**
1753 *
1754 *
1755 * @global boolean $cfg['Export']['sql_hex_for_blob']
1756 */
1757$cfg['Export']['sql_hex_for_blob'] = true;
1758
1759/**
1760 * insert/update/replace
1761 *
1762 * @global string $cfg['Export']['sql_type']
1763 */
1764$cfg['Export']['sql_type'] = 'INSERT';
1765
1766/**
1767 *
1768 *
1769 * @global integer $cfg['Export']['sql_max_query_size']
1770 */
1771$cfg['Export']['sql_max_query_size'] = 50000;
1772
1773/**
1774 *
1775 *
1776 * @global boolean $cfg['Export']['sql_comments']
1777 */
1778$cfg['Export']['sql_comments'] = false;
1779
1780/**
1781 *
1782 *
1783 * @global boolean $cfg['Export']['sql_mime']
1784 */
1785$cfg['Export']['sql_mime'] = false;
1786
1787/**
1788 * \n is replaced by new line
1789 *
1790 * @global string $cfg['Export']['sql_header_comment']
1791 */
1792$cfg['Export']['sql_header_comment'] = '';
1793
1794/**
1795 *
1796 *
1797 * @global boolean $cfg['Export']['sql_create_table_statements']
1798 */
1799$cfg['Export']['sql_create_table_statements'] = true;
1800
1801/**
1802 * Whether to use complete inserts, extended inserts, both, or neither
1803 *
1804 * @global string $cfg['Export']['sql_insert_syntax']
1805 */
1806$cfg['Export']['sql_insert_syntax'] = 'both';
1807
1808/**
1809 *
1810 *
1811 * @global string $cfg['Export']['pdf_report_title']
1812 */
1813$cfg['Export']['pdf_report_title'] = '';
1814
1815/**
1816 *
1817 *
1818 *@global string $cfg['Export']['xml_structure_or_data']
1819 */
1820$cfg['Export']['xml_structure_or_data'] = 'data';
1821
1822/**
1823 * Export schema for each structure
1824 *
1825 * @global string $cfg['Export']['xml_export_struc']
1826 */
1827$cfg['Export']['xml_export_struc'] = true;
1828
1829/**
1830 * Export functions
1831 *
1832 * @global string $cfg['Export']['xml_export_functions']
1833 */
1834$cfg['Export']['xml_export_functions'] = true;
1835
1836/**
1837 * Export procedures
1838 *
1839 * @global string $cfg['Export']['xml_export_procedures']
1840 */
1841$cfg['Export']['xml_export_procedures'] = true;
1842
1843/**
1844 * Export schema for each table
1845 *
1846 * @global string $cfg['Export']['xml_export_tables']
1847 */
1848$cfg['Export']['xml_export_tables'] = true;
1849
1850/**
1851 * Export triggers
1852 *
1853 * @global string $cfg['Export']['xml_export_triggers']
1854 */
1855$cfg['Export']['xml_export_triggers'] = true;
1856
1857/**
1858 * Export views
1859 *
1860 * @global string $cfg['Export']['xml_export_views']
1861 */
1862$cfg['Export']['xml_export_views'] = true;
1863
1864/**
1865 * Export contents data
1866 *
1867 * @global string $cfg['Export']['xml_export_contents']
1868 */
1869$cfg['Export']['xml_export_contents'] = true;
1870
1871/**
1872 *
1873 *
1874 * @global string $cfg['Export']['yaml_structure_or_data']
1875 */
1876$cfg['Export']['yaml_structure_or_data'] = 'data';
1877
1878/*******************************************************************************
1879 * Import defaults
1880 */
1881$cfg['Import'] = array();
1882
1883/**
1884 *
1885 *
1886 * @global string $cfg['Import']['format']
1887 */
1888$cfg['Import']['format'] = 'sql';
1889
1890/**
1891 * Default charset for import.
1892 *
1893 * @global string $cfg['Import']['charset']
1894 */
1895$cfg['Import']['charset'] = '';
1896
1897/**
1898 *
1899 *
1900 * @global boolean $cfg['Import']['allow_interrupt']
1901 */
1902$cfg['Import']['allow_interrupt'] = true;
1903
1904/**
1905 *
1906 *
1907 * @global integer $cfg['Import']['skip_queries']
1908 */
1909$cfg['Import']['skip_queries'] = 0;
1910
1911/**
1912 *
1913 *
1914 * @global string $cfg['Import']['sql_compatibility']
1915 */
1916$cfg['Import']['sql_compatibility'] = 'NONE';
1917
1918/**
1919 *
1920 *
1921 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
1922 */
1923$cfg['Import']['sql_no_auto_value_on_zero'] = true;
1924
1925/**
1926 *
1927 *
1928 * @global boolean $cfg['Import']['csv_replace']
1929 */
1930$cfg['Import']['csv_replace'] = false;
1931
1932/**
1933 *
1934 *
1935 * @global boolean $cfg['Import']['csv_ignore']
1936 */
1937$cfg['Import']['csv_ignore'] = false;
1938
1939/**
1940 *
1941 *
1942 * @global string $cfg['Import']['csv_terminated']
1943 */
1944$cfg['Import']['csv_terminated'] = ',';
1945
1946/**
1947 *
1948 *
1949 * @global string $cfg['Import']['csv_enclosed']
1950 */
1951$cfg['Import']['csv_enclosed'] = '"';
1952
1953/**
1954 *
1955 *
1956 * @global string $cfg['Import']['csv_escaped']
1957 */
1958$cfg['Import']['csv_escaped'] = '"';
1959
1960/**
1961 *
1962 *
1963 * @global string $cfg['Import']['csv_new_line']
1964 */
1965$cfg['Import']['csv_new_line'] = 'auto';
1966
1967/**
1968 *
1969 *
1970 * @global string $cfg['Import']['csv_columns']
1971 */
1972$cfg['Import']['csv_columns'] = '';
1973
1974/**
1975 *
1976 *
1977 * @global string $cfg['Import']['csv_col_names']
1978 */
1979$cfg['Import']['csv_col_names'] = false;
1980
1981/**
1982 *
1983 *
1984 * @global boolean $cfg['Import']['ldi_replace']
1985 */
1986$cfg['Import']['ldi_replace'] = false;
1987
1988/**
1989 *
1990 *
1991 * @global boolean $cfg['Import']['ldi_ignore']
1992 */
1993$cfg['Import']['ldi_ignore'] = false;
1994
1995/**
1996 *
1997 *
1998 * @global string $cfg['Import']['ldi_terminated']
1999 */
2000$cfg['Import']['ldi_terminated'] = ';';
2001
2002/**
2003 *
2004 *
2005 * @global string $cfg['Import']['ldi_enclosed']
2006 */
2007$cfg['Import']['ldi_enclosed'] = '"';
2008
2009/**
2010 *
2011 *
2012 * @global string $cfg['Import']['ldi_escaped']
2013 */
2014$cfg['Import']['ldi_escaped'] = '\\';
2015
2016/**
2017 *
2018 *
2019 * @global string $cfg['Import']['ldi_new_line']
2020 */
2021$cfg['Import']['ldi_new_line'] = 'auto';
2022
2023/**
2024 *
2025 *
2026 * @global string $cfg['Import']['ldi_columns']
2027 */
2028$cfg['Import']['ldi_columns'] = '';
2029
2030/**
2031 * 'auto' for auto-detection, true or false for forcing
2032 *
2033 * @global string $cfg['Import']['ldi_local_option']
2034 */
2035$cfg['Import']['ldi_local_option'] = 'auto';
2036
2037/**
2038 *
2039 *
2040 * @global string $cfg['Import']['ods_col_names']
2041 */
2042$cfg['Import']['ods_col_names'] = false;
2043
2044/**
2045 *
2046 *
2047 * @global string $cfg['Import']['ods_empty_rows']
2048 */
2049$cfg['Import']['ods_empty_rows'] = true;
2050
2051/**
2052 *
2053 *
2054 * @global string $cfg['Import']['ods_recognize_percentages']
2055 */
2056$cfg['Import']['ods_recognize_percentages'] = true;
2057
2058/**
2059 *
2060 *
2061 * @global string $cfg['Import']['ods_recognize_currency']
2062 */
2063$cfg['Import']['ods_recognize_currency'] = true;
2064
2065/**
2066 *
2067 *
2068 * @global string $cfg['Import']['xml_col_names']
2069 */
2070$cfg['Import']['xls_col_names'] = false;
2071
2072/**
2073 *
2074 *
2075 * @global string $cfg['Import']['xml_empty_rows']
2076 */
2077$cfg['Import']['xls_empty_rows'] = true;
2078
2079/**
2080 *
2081 *
2082 * @global string $cfg['Import']['xlsx_col_names']
2083 */
2084$cfg['Import']['xlsx_col_names'] = false;
2085
2086/**
2087 * Link to the official MySQL documentation.
2088 * Be sure to include no trailing slash on the path.
2089 * See http://dev.mysql.com/doc/ for more information
2090 * about MySQL manuals and their types.
2091 *
2092 * @global string $cfg['MySQLManualBase']
2093 */
2094$cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
2095
2096/**
2097 * Type of MySQL documentation:
2098 *   viewable   - "viewable online", current one used on MySQL website
2099 *   searchable - "Searchable, with user comments"
2100 *   chapters   - "HTML, one page per chapter"
2101 *   chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
2102 *   big        - "HTML, all on one page"
2103 *   old        - old style used in phpMyAdmin 2.3.0 and sooner
2104 *   none       - do not show documentation links
2105 *
2106 * @global string $cfg['MySQLManualType']
2107 */
2108$cfg['MySQLManualType'] = 'viewable';
2109
2110
2111/*******************************************************************************
2112 * PDF options
2113 */
2114
2115/**
2116 *
2117 *
2118 * @global array $cfg['PDFPageSizes']
2119 */
2120$cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2121
2122/**
2123 *
2124 *
2125 * @global string $cfg['PDFDefaultPageSize']
2126 */
2127$cfg['PDFDefaultPageSize'] = 'A4';
2128
2129
2130/*******************************************************************************
2131 * Language and character set conversion settings
2132 */
2133
2134/**
2135 * Default language to use, if not browser-defined or user-defined
2136 *
2137 * @global string $cfg['DefaultLang']
2138 */
2139$cfg['DefaultLang'] = 'en';
2140
2141/**
2142 * Default connection collation
2143 *
2144 * @global string $cfg['DefaultConnectionCollation']
2145 */
2146$cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
2147
2148/**
2149 * Force: always use this language
2150 * $cfg['Lang'] = 'en';
2151 *
2152 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2153 * English only
2154 *
2155 * @global string $cfg['FilterLanguages']
2156 */
2157$cfg['FilterLanguages'] = '';
2158
2159/**
2160 * You can select here which functions will be used for character set conversion.
2161 * Possible values are:
2162 *      auto   - automatically use available one (first is tested iconv, then
2163 *               recode)
2164 *      iconv  - use iconv or libiconv functions
2165 *      recode - use recode_string function
2166 *      none   - disable encoding conversion
2167 *
2168 * @global string $cfg['RecodingEngine']
2169 */
2170$cfg['RecodingEngine'] = 'auto';
2171
2172/**
2173 * Specify some parameters for iconv used in character set conversion. See iconv
2174 * documentation for details:
2175 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2176 *
2177 * @global string $cfg['IconvExtraParams']
2178 */
2179$cfg['IconvExtraParams'] = '//TRANSLIT';
2180
2181/**
2182 * Available character sets for MySQL conversion. currently contains all which could
2183 * be found in lang/* files and few more.
2184 * Character sets will be shown in same order as here listed, so if you frequently
2185 * use some of these move them to the top.
2186 *
2187 * @global array $cfg['AvailableCharsets']
2188 */
2189$cfg['AvailableCharsets'] = array(
2190    'iso-8859-1',
2191    'iso-8859-2',
2192    'iso-8859-3',
2193    'iso-8859-4',
2194    'iso-8859-5',
2195    'iso-8859-6',
2196    'iso-8859-7',
2197    'iso-8859-8',
2198    'iso-8859-9',
2199    'iso-8859-10',
2200    'iso-8859-11',
2201    'iso-8859-12',
2202    'iso-8859-13',
2203    'iso-8859-14',
2204    'iso-8859-15',
2205    'windows-1250',
2206    'windows-1251',
2207    'windows-1252',
2208    'windows-1256',
2209    'windows-1257',
2210    'koi8-r',
2211    'big5',
2212    'gb2312',
2213    'utf-16',
2214    'utf-8',
2215    'utf-7',
2216    'x-user-defined',
2217    'euc-jp',
2218    'ks_c_5601-1987',
2219    'tis-620',
2220    'SHIFT_JIS'
2221);
2222
2223
2224/*******************************************************************************
2225 * Customization & design
2226 *
2227 * The graphical settings are now located in themes/theme-name/layout.inc.php
2228 */
2229
2230/**
2231 * enable the left panel pointer
2232 * (used when LeftFrameLight is false)
2233 * see also LeftPointerColor
2234 * in layout.inc.php
2235 *
2236 * @global boolean $cfg['LeftPointerEnable']
2237 */
2238$cfg['LeftPointerEnable'] = true;
2239
2240/**
2241 * enable the browse pointer
2242 * see also BrowsePointerColor
2243 * in layout.inc.php
2244 *
2245 * @global boolean $cfg['BrowsePointerEnable']
2246 */
2247$cfg['BrowsePointerEnable'] = true;
2248
2249/**
2250 * enable the browse marker
2251 * see also BrowseMarkerColor
2252 * in layout.inc.php
2253 *
2254 * @global boolean $cfg['BrowseMarkerEnable']
2255 */
2256$cfg['BrowseMarkerEnable'] = true;
2257
2258/**
2259 * textarea size (columns) in edit mode
2260 * (this value will be emphasized (*2) for SQL
2261 * query textareas and (*1.25) for query window)
2262 *
2263 * @global integer $cfg['TextareaCols']
2264 */
2265$cfg['TextareaCols'] = 40;
2266
2267/**
2268 * textarea size (rows) in edit mode
2269 *
2270 * @global integer $cfg['TextareaRows']
2271 */
2272$cfg['TextareaRows'] = 15;
2273
2274/**
2275 * double size of textarea size for LONGTEXT columns
2276 *
2277 * @global boolean $cfg['LongtextDoubleTextarea']
2278 */
2279$cfg['LongtextDoubleTextarea'] = true;
2280
2281/**
2282 * auto-select when clicking in the textarea of the query-box
2283 *
2284 * @global boolean $cfg['TextareaAutoSelect']
2285 */
2286$cfg['TextareaAutoSelect'] = false;
2287
2288/**
2289 * textarea size (columns) for CHAR/VARCHAR
2290 *
2291 * @global integer $cfg['CharTextareaCols']
2292 */
2293$cfg['CharTextareaCol…

Large files files are truncated, but you can click here to view the full file