equal
deleted
inserted
replaced
98 */ |
98 */ |
99 function Text_Wiki_Parse_Wikilink(&$obj) |
99 function Text_Wiki_Parse_Wikilink(&$obj) |
100 { |
100 { |
101 $default = $this->conf; |
101 $default = $this->conf; |
102 parent::Text_Wiki_Parse($obj); |
102 parent::Text_Wiki_Parse($obj); |
|
103 |
|
104 global $paths; |
|
105 $this->imageConf = array( |
|
106 'prefix' => array(':' . $paths->nslist['File']) |
|
107 ); |
103 |
108 |
104 // override config options for image if specified |
109 // override config options for image if specified |
105 if (in_array('Image', $this->wiki->disable)) { |
110 if (in_array('Image', $this->wiki->disable)) { |
106 $this->imageConf['prefix'] = array(); |
111 $this->imageConf['prefix'] = array(); |
107 } else { |
112 } else { |