Skip to content
Snippets Groups Projects
Commit 227f5f36 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Bad setup of phpMyAdmin for DoliWamp installer.

parent 2bbede31
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,7 @@ For users: ...@@ -33,6 +33,7 @@ For users:
- Fix: bug #29278 : SMTP fails with IP - Fix: bug #29278 : SMTP fails with IP
- Fix: Default language on login page. - Fix: Default language on login page.
- Fix: Complete support of euros sign (even in PDF). - Fix: Complete support of euros sign (even in PDF).
- Fix: Bad setup of phpMyAdmin for DoliWamp installer.
For developers: For developers:
- More comments in code. - More comments in code.
......
...@@ -55,7 +55,7 @@ $i = 0; ...@@ -55,7 +55,7 @@ $i = 0;
// full server array, just define values you need to change. // full server array, just define values you need to change.
$i++; $i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = '3307'; // MySQL port - leave blank for default port $cfg['Servers'][$i]['port'] = 'WAMPMYSQLPORT'; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket') $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysqli'; // The php MySQL extension to use ('mysql' or 'mysqli') $cfg['Servers'][$i]['extension'] = 'mysqli'; // The php MySQL extension to use ('mysql' or 'mysqli')
......
...@@ -557,6 +557,7 @@ begin ...@@ -557,6 +557,7 @@ begin
// sinon on prends le fichier par defaut // sinon on prends le fichier par defaut
LoadStringFromFile (srcFile, srcContents); LoadStringFromFile (srcFile, srcContents);
StringChange (srcContents, 'WAMPMYSQLNEWPASSWORD', mypass); StringChange (srcContents, 'WAMPMYSQLNEWPASSWORD', mypass);
StringChange (srcContents, 'WAMPMYSQLPORT', myport);
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment