Fix: Bad setup of phpMyAdmin for DoliWamp installer.
This commit is contained in:
parent
2bbede3133
commit
227f5f36c4
@ -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;
|
|||||||
// 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
|
|||||||
// 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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user