Fix DoliWamp installer
This commit is contained in:
parent
dead11d96e
commit
89835ae802
@ -532,8 +532,12 @@ begin
|
|||||||
batFile := path+'\mysqlinitpassword.bat';
|
batFile := path+'\mysqlinitpassword.bat';
|
||||||
Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
|
Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
|
||||||
|
|
||||||
|
// Save result in a file
|
||||||
|
// destFile := pathWithSlashes+'/mysqlinitpassword.log';
|
||||||
|
// SaveStringToFile(destFile,myResult, False);
|
||||||
|
|
||||||
// Remove dangerous files
|
// Remove dangerous files
|
||||||
batFile := path+'\removefiles.bat';
|
// batFile := path+'\removefiles.bat';
|
||||||
// Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
|
// Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1 +1,2 @@
|
|||||||
.\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysqladmin -P WAMPMYSQLPORT -u root password WAMPMYSQLNEWPASSWORD
|
sleep 1
|
||||||
|
.\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysqladmin -P WAMPMYSQLPORT -u root password WAMPMYSQLNEWPASSWORD >>doliwamp.log 2>>&1
|
||||||
|
|||||||
@ -39,6 +39,11 @@ $langs->load("install");
|
|||||||
|
|
||||||
dolibarr_install_syslog("check: Dolibarr install/upgrade process started");
|
dolibarr_install_syslog("check: Dolibarr install/upgrade process started");
|
||||||
|
|
||||||
|
// Init "forced values" to nothing. "forced values" are used after an doliwamp install wizard.
|
||||||
|
if (! isset($force_install_dolibarrlogin)) $force_install_dolibarrlogin='';
|
||||||
|
if (file_exists("./install.forced.php")) include_once("./install.forced.php");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pHeader($langs->trans("DolibarrWelcome"),""); // Etape suivante = license
|
pHeader($langs->trans("DolibarrWelcome"),""); // Etape suivante = license
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user