X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/1bf118847b1fd0540cd259b04488a7fdbc3b4bd0..94b076f028c2a12f522887caf02b6289957cf4fe:/src/phorkie/SetupCheck.php diff --git a/src/phorkie/SetupCheck.php b/src/phorkie/SetupCheck.php index 53e4fd0..fbc99c7 100644 --- a/src/phorkie/SetupCheck.php +++ b/src/phorkie/SetupCheck.php @@ -47,11 +47,9 @@ class SetupCheck } if (!class_exists('GeSHi', true)) { - $geshi = stream_resolve_include_path( - $GLOBALS['phorkie']['cfg']['geshi'] - ); - if ($geshi === false) { - $this->fail('GeSHi not available'); + @include_once 'geshi.php'; + if (!class_exists('GeSHi', false)) { + $this->fail('PEAR package not installed: pear.geshi.org/geshi'); } }