X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/0e362c3a8a13e7e2ae7d5c1a5d2e5eaa163d153f..94b076f028c2a12f522887caf02b6289957cf4fe:/src/phorkie/Renderer/Geshi.php diff --git a/src/phorkie/Renderer/Geshi.php b/src/phorkie/Renderer/Geshi.php index 08c6c74..9cb15a2 100644 --- a/src/phorkie/Renderer/Geshi.php +++ b/src/phorkie/Renderer/Geshi.php @@ -13,12 +13,8 @@ class Renderer_Geshi */ public function toHtml(File $file, Tool_Result $res = null) { - /** - * Yes, geshi needs to be in your include path - * We use the mediawiki geshi extension package. - */ if (!class_exists('\\GeSHi', true)) { - require_once $GLOBALS['phorkie']['cfg']['geshi']; + require_once 'geshi.php'; } $geshi = new \GeSHi($file->getContent(), $this->getType($file)); $geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS);