includes/wikiformat.php
changeset 407 35d94240a197
parent 371 dc6026376919
child 438 c9522c961e10
--- a/includes/wikiformat.php	Fri Feb 08 23:20:20 2008 -0500
+++ b/includes/wikiformat.php	Sun Feb 10 19:35:06 2008 -0500
@@ -107,6 +107,13 @@
         if (is_array($rules)) {
             $this->rules = $rules;
         }
+        
+        global $plugins;
+        $code = $plugins->setHook('text_wiki_construct');
+        foreach ( $code as $cmd )
+        {
+            eval($cmd);
+        }
 
         $this->addPath(
             'parse',