Home
last modified time | relevance | path

Searched refs:DOKU_FARMDIR (Results 1 – 8 of 8) sorted by relevance

/plugin/farmer/
H A Dhelper.php81 * List of all animals, i.e. directories within DOKU_FARMDIR without the template.
88 $list = glob(DOKU_FARMDIR . '*/conf/', GLOB_ONLYDIR);
122 return defined('DOKU_FARMDIR') && isset($GLOBALS['FARMCORE']);
231 $localfile = DOKU_FARMDIR . $animal . '/conf/plugins.local.php';
327 * @param string $animal Directory of the animal within DOKU_FARMDIR
335 io_saveFile(DOKU_FARMDIR . $animal . '/conf/plugins.local.php', $pluginConf);
336 touch(DOKU_FARMDIR . $animal . '/conf/local.php');
339 opcache_invalidate(DOKU_FARMDIR . $animal . '/conf/plugins.local.php');
340 opcache_invalidate(DOKU_FARMDIR . $animal . '/conf/local.php');
H A DDokuWikiFarmCore.php67 define('DOKU_FARMDIR', $this->config['base']['farmdir']);
75 define('DOKU_CONF', DOKU_FARMDIR . $this->animal . '/conf/');
121 return DOKU_FARMDIR . $this->getAnimal() . '/data/';
425 if ($this->config['base']['farmdir'] === '' && isset($_ENV['DOKU_FARMDIR'])) {
426 $this->config['base']['farmdir'] = $_ENV['DOKU_FARMDIR'];
64 define('DOKU_FARMDIR', $this->config['base']['farmdir']); global() define
/plugin/farmer/admin/
H A Dnew.php161 if ($animalname !== '' && file_exists(DOKU_FARMDIR . '/' . $animalname)) {
165 if (!is_dir(DOKU_FARMDIR . $template) && !in_array($aclpolicy, ['open', 'public', 'closed'])) {
176 if (!is_dir(DOKU_FARMDIR . $template)) {
207 $animaldir = DOKU_FARMDIR . $name;
219 $templatedir = DOKU_FARMDIR . $template . '/' . $dir;
H A Ddelete.php51 $animaldir = DOKU_FARMDIR . $INPUT->str('delanimal');
53 if (!$this->helper->isInPath($animaldir, DOKU_FARMDIR) || !is_dir($animaldir)) {
H A Dinfo.php61 $this->line('farm dir', DOKU_FARMDIR);
H A Dconfig.php66 $form->addHTML('<label><span>' . $this->getLang('farm dir') . '</span>' . DOKU_FARMDIR);
/plugin/farmsync/_test/
H A DFarmSyncUtil.test.php18 define(DOKU_FARMDIR, '/testfarmdir/' ); define
/plugin/farmsync/meta/
H A DFarmSyncUtil.php54 return DOKU_FARMDIR . $animal . '/';