X-Git-Url: https://git.tld-linux.org/?p=packages%2FphpMyAdmin.git;a=blobdiff_plain;f=phpMyAdmin-config.patch;h=10ac2dfc7e2950adab66cf88ecc86afe29fb9030;hp=ded76988fbd1e232414e8a1678fbd1504457e9f9;hb=HEAD;hpb=cecc4de2aff12ca52c68e71882962c0878e6e3f3 diff --git a/phpMyAdmin-config.patch b/phpMyAdmin-config.patch index ded7698..10ac2df 100644 --- a/phpMyAdmin-config.patch +++ b/phpMyAdmin-config.patch @@ -1,9 +1,8 @@ -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 ---- phpMyAdmin-4.5.3.1-all-languages.orig/libraries/config.default.php 2015-12-25 20:07:18.000000000 +0000 -+++ phpMyAdmin-4.5.3.1-all-languages/libraries/config.default.php 2016-01-19 12:55:24.778367491 +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 !! @@ -17,33 +16,11 @@ diff -ur phpMyAdmin-4.5.3.1-all-languages.orig/libraries/config.default.php phpM - * - * 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) -@@ -874,14 +869,14 @@ +@@ -938,14 +925,14 @@ * * @global integer $cfg['MaxNavigationItems'] */ @@ -60,7 +37,7 @@ diff -ur phpMyAdmin-4.5.3.1-all-languages.orig/libraries/config.default.php phpM /** * the separator to sub-tree the select-based light menu tree -@@ -940,14 +935,14 @@ +@@ -1004,14 +991,14 @@ * * @global integer $cfg['NumRecentTables'] */ @@ -77,16 +54,16 @@ diff -ur phpMyAdmin-4.5.3.1-all-languages.orig/libraries/config.default.php phpM /** * display a JavaScript table filter in the navigation panel -@@ -1186,7 +1181,7 @@ +@@ -1277,7 +1264,7 @@ * * @global string $cfg['GridEditing'] */ --$cfg['GridEditing'] ='double-click'; -+$cfg['GridEditing'] ='disabled'; +-$cfg['GridEditing'] = 'double-click'; ++$cfg['GridEditing'] = 'disabled'; /** * Options > Relational display -@@ -1333,7 +1328,7 @@ +@@ -1426,7 +1413,7 @@ * * @global boolean $cfg['ActionLinksMode'] */ @@ -95,7 +72,7 @@ diff -ur phpMyAdmin-4.5.3.1-all-languages.orig/libraries/config.default.php phpM /** * How many columns should be used for table display of a database? -@@ -1383,7 +1378,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``. */