From 4a8cabebfcb9f3100a928e1dcc1a7a4a2409be9e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 17 May 2011 07:38:59 +0000 Subject: [PATCH] Enhance installer for wizards --- htdocs/install/etape0.php | 2 +- htdocs/install/fileconf.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/etape0.php b/htdocs/install/etape0.php index 8b059747148..1bb76a2c42a 100644 --- a/htdocs/install/etape0.php +++ b/htdocs/install/etape0.php @@ -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 diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php index d0bec95443b..b8bfe31e595 100644 --- a/htdocs/install/fileconf.php +++ b/htdocs/install/fileconf.php @@ -124,7 +124,7 @@ if (! empty($force_install_message)) '; - print ''; + print ''; ?>