From e88d58442c3b126487f76b7839483321c2a8ba2a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 22 Feb 2012 15:24:34 +0100 Subject: [PATCH] Fix: problem with this code --- htdocs/admin/syslog.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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