Enhance installer for wizards
This commit is contained in:
parent
064a7c9b67
commit
4a8cabebfc
@ -107,7 +107,7 @@ if (empty($_POST["db_user"]))
|
||||
*/
|
||||
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 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">
|
||||
<?php
|
||||
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 class="comment"><?php
|
||||
|
||||
Loading…
Reference in New Issue
Block a user