Fix: problem with this code
This commit is contained in:
parent
94f6034f9a
commit
e88d58442c
@ -190,10 +190,11 @@ print '</td>';
|
|||||||
print "<td align=\"left\">".$form->textwithpicto('','Only LOG_USER supported on Windows');
|
print "<td align=\"left\">".$form->textwithpicto('','Only LOG_USER supported on Windows');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
/*
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
set_include_path('/usr/share/php/');
|
set_include_path('/usr/share/php/');
|
||||||
@require_once('FirePHPCore/FirePHP.class.php');
|
require_once('FirePHPCore/FirePHP.class.php');
|
||||||
restore_include_path();
|
restore_include_path();
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td width="140"><input '.$bc[$var].' type="checkbox" name="SYSLOG_FIREPHP_ON" '.$option.' value="1" ';
|
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 align=\"left\">".$form->textwithpicto('','FirePHP must be installed onto PHP and FirePHP plugin for Firefox must also be installed');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(DolException $e)
|
||||||
{
|
{
|
||||||
// Do nothing
|
// Do nothing
|
||||||
print '<!-- FirePHP no available into PHP -->'."\n";
|
print '<!-- FirePHP no available into PHP -->'."\n";
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
@ -246,7 +248,7 @@ print "</form>\n";
|
|||||||
|
|
||||||
dol_htmloutput_mesg($mesg);
|
dol_htmloutput_mesg($mesg);
|
||||||
|
|
||||||
$db->close();
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
|
$db->close();
|
||||||
?>
|
?>
|
||||||
Loading…
Reference in New Issue
Block a user