diff --git a/htdocs/admin/syslog.php b/htdocs/admin/syslog.php
index 4038418061c..18dfabefcb0 100644
--- a/htdocs/admin/syslog.php
+++ b/htdocs/admin/syslog.php
@@ -209,72 +209,6 @@ foreach ($syslogModules as $moduleName)
print "\n";
}
-// // Output to file
-// $var=!$var;
-// print '
| '.$langs->trans("SyslogSimpleFile").' | ';
-// print ''.$langs->trans("SyslogFilename").': ';
-// print ' | ';
-// print "".$form->textwithpicto('',$langs->trans("YouCanUseDOL_DATA_ROOT"));
-// print ' |
';
-
-// // Output to syslog
-// $var=!$var;
-// print '| '.$langs->trans("SyslogSyslog").' | ';
-// print ''.$langs->trans("SyslogFacility").': ';
-// print ' | ';
-// print "".$form->textwithpicto('', $langs->trans('OnlyWindowsLOG_USER'));
-// print ' |
';
-
-// // Output to Firebug
-// try
-// {
-// set_include_path('/usr/share/php/');
-// $res=@include_once 'FirePHPCore/FirePHP.class.php';
-// restore_include_path();
-// if ($res)
-// {
-// $var=!$var;
-// print '| '.$langs->trans("FirePHP").' | ';
-// print '';
-// print ' | ';
-// print "".$form->textwithpicto('','FirePHP must be installed onto PHP and FirePHP plugin for Firefox must also be installed');
-// print ' |
';
-// }
-// }
-// catch(Exception $e)
-// {
-// // Do nothing
-// print ''."\n";
-// }
-
-// // Output to Chrome
-// try
-// {
-// set_include_path('/usr/share/php/');
-// $res=@include_once 'ChromePhp.php';
-// restore_include_path();
-// if ($res)
-// {
-// $var=!$var;
-// print '| '.$langs->trans("ChromePHP").' | ';
-// print '';
-// print ' | ';
-// print "".$form->textwithpicto('','ChromePHP must be installed onto PHP path and ChromePHP plugin for Chrome must also be installed');
-// print ' |
';
-// }
-// }
-// catch(Exception $e)
-// {
-// // Do nothing
-// print ''."\n";
-// }
-
print "\n";
print "\n";
diff --git a/htdocs/core/modules/syslog/mod_syslog_chromephp.php b/htdocs/core/modules/syslog/mod_syslog_chromephp.php
index 633dbfd581e..dc26fa35722 100644
--- a/htdocs/core/modules/syslog/mod_syslog_chromephp.php
+++ b/htdocs/core/modules/syslog/mod_syslog_chromephp.php
@@ -53,22 +53,22 @@ class mod_syslog_chromephp extends LogHandler implements LogHandlerInterface
return false;
}
- /**
- * {@inheritDoc}
- */
- public function configure()
- {
- global $langs;
+ // /**
+ // * {@inheritDoc}
+ // */
+ // public function configure()
+ // {
+ // global $langs;
- return array(
- array(
- 'name' => $langs->trans('IncludePath'),
- 'constant' => 'SYSLOG_CHROMEPHP_INCLUDEPATH',
- 'default' => '/usr/share/php',
- 'attr' => 'size="40"'
- )
- );
- }
+ // return array(
+ // array(
+ // 'name' => $langs->trans('IncludePath'),
+ // 'constant' => 'SYSLOG_CHROMEPHP_INCLUDEPATH',
+ // 'default' => '/usr/share/php',
+ // 'attr' => 'size="40"'
+ // )
+ // );
+ // }
/**
* {@inheritDoc}
diff --git a/htdocs/core/modules/syslog/mod_syslog_firephp.php b/htdocs/core/modules/syslog/mod_syslog_firephp.php
index 3bc0c6afbea..ca6396db50d 100644
--- a/htdocs/core/modules/syslog/mod_syslog_firephp.php
+++ b/htdocs/core/modules/syslog/mod_syslog_firephp.php
@@ -53,22 +53,22 @@ class mod_syslog_firephp extends LogHandler implements LogHandlerInterface
return false;
}
- /**
- * {@inheritDoc}
- */
- public function configure()
- {
- global $langs;
+ // /**
+ // * {@inheritDoc}
+ // */
+ // public function configure()
+ // {
+ // global $langs;
- return array(
- array(
- 'name' => $langs->trans('IncludePath'),
- 'constant' => 'SYSLOG_FIREPHP_INCLUDEPATH',
- 'default' => '/usr/share/php',
- 'attr' => 'size="40"'
- )
- );
- }
+ // return array(
+ // array(
+ // 'name' => $langs->trans('IncludePath'),
+ // 'constant' => 'SYSLOG_FIREPHP_INCLUDEPATH',
+ // 'default' => '/usr/share/php',
+ // 'attr' => 'size="40"'
+ // )
+ // );
+ // }
/**
* {@inheritDoc}
@@ -80,7 +80,7 @@ class mod_syslog_firephp extends LogHandler implements LogHandlerInterface
$errors = array();
$oldinclude = get_include_path();
- set_include_path(SYSLOG_FIREPHP_INCLUDEPATH);
+ set_include_path('/usr/share/php/');
if (!file_exists('FirePHPCore/FirePHP.class.php'))
{