Fix: problem with this code

This commit is contained in:
Regis Houssin 2012-02-22 15:24:34 +01:00
parent 94f6034f9a
commit e88d58442c

View File

@ -190,10 +190,11 @@ print '</td>';
print "<td align=\"left\">".$form->textwithpicto('','Only LOG_USER supported on Windows');
print '</td></tr>';
/*
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 '<tr '.$bc[$var].'><td width="140"><input '.$bc[$var].' type="checkbox" name="SYSLOG_FIREPHP_ON" '.$option.' value="1" ';
@ -205,11 +206,12 @@ try
print "<td align=\"left\">".$form->textwithpicto('','FirePHP must be installed onto PHP and FirePHP plugin for Firefox must also be installed');
print '</td></tr>';
}
catch(Exception $e)
catch(DolException $e)
{
// Do nothing
print '<!-- FirePHP no available into PHP -->'."\n";
}
*/
print "</table>\n";
print "</form>\n";
@ -246,7 +248,7 @@ print "</form>\n";
dol_htmloutput_mesg($mesg);
$db->close();
llxFooter();
?>
$db->close();
?>