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