equal
deleted
inserted
replaced
105 function Text_Wiki($rules = null) |
105 function Text_Wiki($rules = null) |
106 { |
106 { |
107 if (is_array($rules)) { |
107 if (is_array($rules)) { |
108 $this->rules = $rules; |
108 $this->rules = $rules; |
109 } |
109 } |
|
110 |
|
111 global $plugins; |
|
112 $code = $plugins->setHook('text_wiki_construct'); |
|
113 foreach ( $code as $cmd ) |
|
114 { |
|
115 eval($cmd); |
|
116 } |
110 |
117 |
111 $this->addPath( |
118 $this->addPath( |
112 'parse', |
119 'parse', |
113 $this->fixPath(ENANO_ROOT) . 'includes/wikiengine/Parse/Default/' |
120 $this->fixPath(ENANO_ROOT) . 'includes/wikiengine/Parse/Default/' |
114 ); |
121 ); |