includes/wikiformat.php
changeset 460 3a1c99845ca8
parent 438 c9522c961e10
child 536 218a627eb53e
--- a/includes/wikiformat.php	Sun Feb 24 12:50:52 2008 -0500
+++ b/includes/wikiformat.php	Sun Feb 24 12:52:07 2008 -0500
@@ -150,8 +150,8 @@
         chdir(ENANO_ROOT);
         
         $class = 'Text_Wiki_' . $parser;
-        $c2 = '._includes_wikiengine_' . $parser;
-        $file = str_replace('_', '/', $c2).'.php';
+        $c2 = $parser;
+        $file = ENANO_ROOT . '/includes/wikiengine/' . str_replace('_', '/', $c2).'.php';
         if (!class_exists($class)) {
             $fp = @fopen($file, 'r', true);
             if ($fp === false) {