use geshi from geshi's new pear channel
[phorkie.git] / src / phorkie / SetupCheck.php
index 53e4fd036d739552c84c4ce8e3fe5e317ed1268f..fbc99c7eae85ad0f262f31578e1435157971c34c 100644 (file)
@@ -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');
             }
         }