Changeset 30310
- Timestamp:
- 2015-11-04T13:59:07+13:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/wiki/plugins/greenstonedocs/syntax.php
r30226 r30310 34 34 35 35 $this->target_namespace_prefix = $this->getConf('currentnamespace'); 36 37 36 // Prerequisite testing. Ensure the following list of plugins are also 38 37 // installed and complain otherwise. … … 71 70 // matically update the internal links within the Greenstone wiki pages 72 71 // to have a different base namespace 73 if ($this->getConf('updatenamespace')) 72 $update_namespace = $this->getConf('updatenamespace'); 73 if ($update_namespace != 0) 74 74 { 75 75 // Determine the starting point for the update 76 76 $base_dir = DOKU_INC . 'data/pages/'; 77 if (!empty($this->getConf('currentnamespace')))78 {79 $base_dir .= $this->getConf('currentnamespace') . '/';80 }81 77 // - ensure trailing : for consistency in namespaces 82 78 $current_namespace = $this->getConf('currentnamespace'); 79 if (!empty($current_namespace)) 80 { 81 $base_dir .= $current_namespace . '/'; 82 } 83 83 if (strlen($current_namespace) > 0 && substr($current_namespace, -1) != ':') 84 84 {
Note:
See TracChangeset
for help on using the changeset viewer.