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 '