aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin J. Novack <jnovack@gmail.com>2012-09-13 22:51:39 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-09-13 22:51:39 +0200
commit2b6643574b2a0e527aea359a240018577d861275 (patch)
tree120e1424727d61ab89da1453db8268e65dbd54fd /src
parent53e6e11d2b3ffd73abdd166c3a3d983479fc3040 (diff)
downloadphorkie-2b6643574b2a0e527aea359a240018577d861275.tar.gz
phorkie-2b6643574b2a0e527aea359a240018577d861275.zip
Moved GeSHi location variable to config.default.php
Diffstat (limited to 'src')
-rw-r--r--src/phorkie/Renderer/Geshi.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phorkie/Renderer/Geshi.php b/src/phorkie/Renderer/Geshi.php
index 1fc633e..2010ead 100644
--- a/src/phorkie/Renderer/Geshi.php
+++ b/src/phorkie/Renderer/Geshi.php
@@ -17,7 +17,7 @@ class Renderer_Geshi
* Yes, geshi needs to be in your include path
* We use the mediawiki geshi extension package.
*/
- require_once 'MediaWiki/geshi/geshi/geshi.php';
+ require_once $GLOBALS['phorkie']['cfg']['geshi'];
$geshi = new \GeSHi($file->getContent(), $this->getType($file));
$geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS);
$geshi->set_header_type(GESHI_HEADER_DIV);