diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/phorkie/SetupCheck.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/phorkie/SetupCheck.php b/src/phorkie/SetupCheck.php index 93ec3ef..0affe05 100644 --- a/src/phorkie/SetupCheck.php +++ b/src/phorkie/SetupCheck.php @@ -43,6 +43,18 @@ class SetupCheck $this->fail('PEAR package not installed: ' . $package); } } + + $geshi = stream_resolve_include_path( + $GLOBALS['phorkie']['cfg']['geshi'] + ); + if ($geshi === false) { + $this->fail('GeSHi not available'); + } + + $markdown = stream_resolve_include_path('markdown.php'); + if ($markdown === false) { + $this->fail('Markdown renderer not available'); + } } public function checkDirs() |
