Esempio n. 1
0
 function _addDependencies()
 {
     global $conf, $config_cascade;
     $this->depends['age'] = isset($this->depends['age']) ? min($this->depends['age'], $conf['cachetime']) : $conf['cachetime'];
     // parser cache file dependencies ...
     $files = array($this->file, DOKU_INC . 'inc/parser/parser.php', DOKU_INC . 'inc/parser/handler.php');
     $files = array_merge($files, getConfigFiles('main'));
     // ... wiki settings
     $this->depends['files'] = !empty($this->depends['files']) ? array_merge($files, $this->depends['files']) : $files;
     parent::_addDependencies();
 }
Esempio n. 2
0
 protected function _addDependencies()
 {
     // parser cache file dependencies ...
     $files = array($this->file, DOKU_INC . 'inc/parser/parser.php', DOKU_INC . 'inc/parser/handler.php');
     $files = array_merge($files, getConfigFiles('main'));
     // ... wiki settings
     $this->depends['files'] = !empty($this->depends['files']) ? array_merge($files, $this->depends['files']) : $files;
     parent::_addDependencies();
 }
Esempio n. 3
0
 function _addDependencies()
 {
     global $conf;
     $this->depends['age'] = isset($this->depends['age']) ? min($this->depends['age'], $conf['cachetime']) : $conf['cachetime'];
     // parser cache file dependencies ...
     $files = array($this->file, DOKU_CONF . 'dokuwiki.php', DOKU_CONF . 'local.php', DOKU_INC . 'inc/parser/parser.php', DOKU_INC . 'inc/parser/handler.php');
     $this->depends['files'] = !empty($this->depends['files']) ? array_merge($files, $this->depends['files']) : $files;
     parent::_addDependencies();
 }