From 2d6afb48c380883d3379552e21a9723098c2e364 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 27 Jan 2004 14:46:59 +0000 Subject: [PATCH] Modif message d'install Inclusion du fichier conf en silencieux --- htdocs/main.inc.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index dad2eafc0c4..ff05e998fef 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -22,9 +22,9 @@ */ define('DOL_VERSION','1.2.0-DEV'); -if (! include_once("conf/conf.php")) +if (! @include_once("conf/conf.php")) { - print "Votre système n'est pas configuré, rendez-vous à l'url install.php"; + print "Votre système n'est pas configuré, procédez à l'installation"; exit ; } @@ -450,7 +450,7 @@ function top_menu($head, $title="") * * */ -Function left_menu($menu, $help_url='', $form_search='') +Function left_menu($menu, $help_url='', $form_search='', $author='') { global $user, $conf, $rtplang; @@ -536,7 +536,16 @@ Function left_menu($menu, $help_url='', $form_search='') * * */ + + if (is_object($author)) + { + + print 'Auteur : '; + print $author->fullname .''; + } + print ''."\n"; + print ''."\n";