]> TLD Linux GIT Repositories - packages/phpMyAdmin.git/blob - phpMyAdmin-config.patch
- updated to 4.5.3.1
[packages/phpMyAdmin.git] / phpMyAdmin-config.patch
1 diff -ur phpMyAdmin-4.5.3.1-all-languages.orig/libraries/config.default.php phpMyAdmin-4.5.3.1-all-languages/libraries/config.default.php
2 --- phpMyAdmin-4.5.3.1-all-languages.orig/libraries/config.default.php  2015-12-25 20:07:18.000000000 +0000
3 +++ phpMyAdmin-4.5.3.1-all-languages/libraries/config.default.php       2016-01-19 12:55:24.778367491 +0000
4 @@ -1,18 +1,6 @@
5  <?php
6  /* vim: set expandtab sw=4 ts=4 sts=4: */
7  /**
8 - * <code>
9 - * N   N  OOO  !!   DDDD   OOO    N   N  OOO  TTTTT   EEEE DDDD  I TTTTT !!
10 - * NN  N O   O !!   D   D O   O   NN  N O   O   T     E    D   D I   T   !!
11 - * N N N O   O !!   D   D O   O   N N N O   O   T     EEEE D   D I   T   !!
12 - * N  NN O   O      D   D O   O   N  NN O   O   T     E    D   D I   T
13 - * N   N  OOO  !!   DDDD   OOO    N   N  OOO    T     EEEE DDDD  I   T   !!
14 - * </code>
15 - *
16 - * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
17 - *
18 - * phpMyAdmin default configuration, you can copy values from here to your
19 - * config.inc.php
20   *
21   * All directives are explained in the documentation
22   *
23 @@ -118,6 +106,13 @@
24  $i = 1;
25  
26  /**
27 + * Display name
28 + *
29 + * @global string $cfg['Servers'][$i]['display']
30 + */
31 +$cfg['Servers'][$i]['display'] = 'localhost';
32 +
33 +/**
34   * MySQL hostname or IP address
35   *
36   * @global string $cfg['Servers'][$i]['host']
37 @@ -257,7 +252,7 @@
38   *
39   * @global string $cfg['Servers'][$i]['user']
40   */
41 -$cfg['Servers'][$i]['user'] = 'root';
42 +$cfg['Servers'][$i]['user'] = 'mysql';
43  
44  /**
45   * MySQL password (only needed with 'config' auth_type)
46 @@ -874,14 +869,14 @@
47   *
48   * @global integer $cfg['MaxNavigationItems']
49   */
50 -$cfg['MaxNavigationItems'] = 50;
51 +$cfg['MaxNavigationItems'] = 250;
52  
53  /**
54   * turn the select-based light menu into a tree
55   *
56   * @global boolean $cfg['NavigationTreeEnableGrouping']
57   */
58 -$cfg['NavigationTreeEnableGrouping'] = true;
59 +$cfg['NavigationTreeEnableGrouping'] = false;
60  
61  /**
62   * the separator to sub-tree the select-based light menu tree
63 @@ -940,14 +935,14 @@
64   *
65   * @global integer $cfg['NumRecentTables']
66   */
67 -$cfg['NumRecentTables'] = 10;
68 +$cfg['NumRecentTables'] = 0;
69  
70  /**
71   * number of favorite tables displayed in the navigation panel
72   *
73   * @global integer $cfg['NumFavoriteTables']
74   */
75 -$cfg['NumFavoriteTables'] = 10;
76 +$cfg['NumFavoriteTables'] = 0;
77  
78  /**
79   * display a JavaScript table filter in the navigation panel
80 @@ -1186,7 +1181,7 @@
81   *
82   * @global string $cfg['GridEditing']
83   */
84 -$cfg['GridEditing'] ='double-click';
85 +$cfg['GridEditing'] ='disabled';
86  
87  /**
88   * Options > Relational display
89 @@ -1333,7 +1328,7 @@
90   *
91   * @global boolean $cfg['ActionLinksMode']
92   */
93 -$cfg['ActionLinksMode'] = 'both';
94 +$cfg['ActionLinksMode'] = 'icons';
95  
96  /**
97   * How many columns should be used for table display of a database?
98 @@ -1383,7 +1378,7 @@
99   * Whether to display image or text or both image and text in table row
100   * action segment. Value can be either of ``image``, ``text`` or ``both``.
101   */
102 -$cfg['RowActionType'] = 'both';
103 +$cfg['RowActionType'] = 'image';
104  
105  /*******************************************************************************
106   * Export defaults