diff --git a/htdocs/admin/syslog.php b/htdocs/admin/syslog.php index e8436730ebe..98ead690ac8 100644 --- a/htdocs/admin/syslog.php +++ b/htdocs/admin/syslog.php @@ -190,10 +190,11 @@ print ''; print "".$form->textwithpicto('','Only LOG_USER supported on Windows'); print ''; +/* try { set_include_path('/usr/share/php/'); - @require_once('FirePHPCore/FirePHP.class.php'); + require_once('FirePHPCore/FirePHP.class.php'); restore_include_path(); $var=!$var; print '".$form->textwithpicto('','FirePHP must be installed onto PHP and FirePHP plugin for Firefox must also be installed'); print ''; } -catch(Exception $e) +catch(DolException $e) { // Do nothing print ''."\n"; } +*/ print "\n"; print "\n"; @@ -246,7 +248,7 @@ print "\n"; dol_htmloutput_mesg($mesg); -$db->close(); - llxFooter(); -?> + +$db->close(); +?> \ No newline at end of file