Because the rest of the class is using SYSLOG_CHROMEPHP_INCLUDEPATH it needs to be restored...
This commit is contained in:
parent
f250bb41e9
commit
180eddff49
@ -37,7 +37,7 @@ class mod_syslog_chromephp extends LogHandler implements LogHandlerInterface
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
set_include_path('/usr/share/php/');
|
set_include_path(SYSLOG_CHROMEPHP_INCLUDEPATH);
|
||||||
$res = @include_once 'ChromePhp.class.php';
|
$res = @include_once 'ChromePhp.class.php';
|
||||||
restore_include_path();
|
restore_include_path();
|
||||||
if ($res)
|
if ($res)
|
||||||
@ -53,22 +53,22 @@ class mod_syslog_chromephp extends LogHandler implements LogHandlerInterface
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// /**
|
/**
|
||||||
// * {@inheritDoc}
|
* {@inheritDoc}
|
||||||
// */
|
*/
|
||||||
// public function configure()
|
public function configure()
|
||||||
// {
|
{
|
||||||
// global $langs;
|
global $langs;
|
||||||
|
|
||||||
// return array(
|
return array(
|
||||||
// array(
|
array(
|
||||||
// 'name' => $langs->trans('IncludePath'),
|
'name' => $langs->trans('IncludePath'),
|
||||||
// 'constant' => 'SYSLOG_CHROMEPHP_INCLUDEPATH',
|
'constant' => 'SYSLOG_CHROMEPHP_INCLUDEPATH',
|
||||||
// 'default' => '/usr/share/php',
|
'default' => '/usr/share/php',
|
||||||
// 'attr' => 'size="40"'
|
'attr' => 'size="40"'
|
||||||
// )
|
)
|
||||||
// );
|
);
|
||||||
// }
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user