Enhance installer for wizards
This commit is contained in:
parent
064a7c9b67
commit
4a8cabebfc
@ -107,7 +107,7 @@ if (empty($_POST["db_user"]))
|
|||||||
*/
|
*/
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
$result=include_once($main_dir."/lib/databases/".$_POST["db_type"].".lib.php");
|
$result=@include_once($main_dir."/lib/databases/".$_POST["db_type"].".lib.php");
|
||||||
if ($result)
|
if ($result)
|
||||||
{
|
{
|
||||||
// If we ask database or user creation we need to connect as root
|
// If we ask database or user creation we need to connect as root
|
||||||
|
|||||||
@ -124,7 +124,7 @@ if (! empty($force_install_message))
|
|||||||
<td class="label" valign="top">
|
<td class="label" valign="top">
|
||||||
<?php
|
<?php
|
||||||
if ($force_install_noedit) print '<input type="hidden" value="'.$dolibarr_main_document_root.'" name="main_dir">';
|
if ($force_install_noedit) print '<input type="hidden" value="'.$dolibarr_main_document_root.'" name="main_dir">';
|
||||||
print '<input type="text" size="60" value="'.$dolibarr_main_document_root.'"'.(empty($force_install_noedit)?'':' disabled="true"').' name="main_dir'.$force_install_noedit.'">';
|
print '<input type="text" size="60" value="'.$dolibarr_main_document_root.'"'.(empty($force_install_noedit)?'':' disabled="true"').' name="main_dir'.(empty($force_install_noedit)?'':'_bis').'">';
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td class="comment"><?php
|
<td class="comment"><?php
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user