X-Git-Url: https://git.tld-linux.org/?p=packages%2FphpMyAdmin.git;a=blobdiff_plain;f=phpMyAdmin-config.patch;h=10ac2dfc7e2950adab66cf88ecc86afe29fb9030;hp=7e8e4a6928077cbe3e1b45bdcd1a8ceb236b62f2;hb=HEAD;hpb=08ff1d685fb3bc79c1b26e54662229e579c43814 diff --git a/phpMyAdmin-config.patch b/phpMyAdmin-config.patch index 7e8e4a6..10ac2df 100644 --- a/phpMyAdmin-config.patch +++ b/phpMyAdmin-config.patch @@ -1,8 +1,8 @@ ---- phpMyAdmin-4.2.2-all-languages/libraries/config.default.php.orig 2014-05-20 12:33:33.000000000 +0000 -+++ phpMyAdmin-4.2.2-all-languages/libraries/config.default.php 2014-06-05 07:05:50.969396745 +0000 -@@ -1,18 +1,6 @@ +diff -ur phpMyAdmin-5.1.1-all-languages.orig/libraries/config.default.php phpMyAdmin-5.1.1-all-languages/libraries/config.default.php +--- phpMyAdmin-5.1.1-all-languages.orig/libraries/config.default.php 2021-11-25 02:55:24.392642991 +0100 ++++ phpMyAdmin-5.1.1-all-languages/libraries/config.default.php 2021-11-25 02:56:22.546780860 +0100 +@@ -1,18 +1,5 @@ - * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !! @@ -16,33 +16,11 @@ - * - * phpMyAdmin default configuration, you can copy values from here to your - * config.inc.php - * +- * * All directives are explained in the documentation - * -@@ -118,6 +106,13 @@ - $i = 1; - - /** -+ * Display name -+ * -+ * @global string $cfg['Servers'][$i]['display'] -+ */ -+$cfg['Servers'][$i]['display'] = 'localhost'; -+ -+/** - * MySQL hostname or IP address - * - * @global string $cfg['Servers'][$i]['host'] -@@ -257,7 +252,7 @@ - * - * @global string $cfg['Servers'][$i]['user'] */ --$cfg['Servers'][$i]['user'] = 'root'; -+$cfg['Servers'][$i]['user'] = 'mysql'; - /** - * MySQL password (only needed with 'config' auth_type) -@@ -859,14 +854,14 @@ +@@ -938,14 +925,14 @@ * * @global integer $cfg['MaxNavigationItems'] */ @@ -59,7 +37,7 @@ /** * the separator to sub-tree the select-based light menu tree -@@ -918,14 +913,14 @@ +@@ -1004,14 +991,14 @@ * * @global integer $cfg['NumRecentTables'] */ @@ -76,16 +54,16 @@ /** * display a JavaScript table filter in the navigation panel -@@ -1115,7 +1110,7 @@ +@@ -1277,7 +1264,7 @@ * * @global string $cfg['GridEditing'] */ --$cfg['GridEditing'] ='double-click'; -+$cfg['GridEditing'] ='disable'; - +-$cfg['GridEditing'] = 'double-click'; ++$cfg['GridEditing'] = 'disabled'; - /******************************************************************************* -@@ -1244,7 +1239,7 @@ + /** + * Options > Relational display +@@ -1426,7 +1413,7 @@ * * @global boolean $cfg['ActionLinksMode'] */ @@ -94,7 +72,7 @@ /** * How many columns should be used for table display of a database? -@@ -1294,7 +1289,7 @@ +@@ -1476,7 +1463,7 @@ * Whether to display image or text or both image and text in table row * action segment. Value can be either of ``image``, ``text`` or ``both``. */