Home
last modified time | relevance | path

Searched refs:conf (Results 26 – 50 of 122) sorted by last modified time

12345

/dokuwiki/inc/Sitemap/
H A DMapper.php38 global $conf;
39 if ($conf['sitemap'] < 1 || !is_numeric($conf['sitemap'])) return false;
51 @filemtime($sitemap) > (time() - ($conf['sitemap'] * 86400))
116 global $conf;
118 $sitemap = $conf['cachedir'] . '/sitemap.xml';
133 global $conf;
134 return $conf['compression'] === 'bz2' || $conf['compression'] === 'gz';
/dokuwiki/inc/
H A DStyleUtils.php33 * @param string $tpl template name: if not passed as argument, the default value from $conf will be used
35 * @param bool $reinit whether static style conf should be reinitialized
40 global $conf;
41 $tpl = $conf['template'];
66 global $conf;
80 $config_cascade['styleini']['local'][] = $conf['cachedir'] . '/preview.ini';
138 global $conf;
144 if ($conf['allowdebug']) {
148 } elseif ($conf['allowdebug']) {
H A Dcommon.php410 global $conf;
440 while (count($crumbs) > $conf['breadcrumbs']) {
469 global $conf;
475 if ($conf['useslash'] && $conf['userewrite']) {
479 $conf['userewrite'] &&
508 global $conf;
511 if (isset($urlParameters['at']) && $conf['date_at_format']) {
512 $urlParameters['at'] = date($conf['date_at_format'], $urlParameters['at']);
519 $id = $conf['star
[all...]
H A Dinfoutils.php32 global $conf;
35 if (!$conf['updatecheck']) return;
36 if ($conf['useacl'] && !$INFO['ismanager']) return;
174 global $conf;
208 if (is_writable($conf['changelog'])) {
210 } elseif (file_exists($conf['changelog'])) {
214 if (isset($conf['changelog_old']) && file_exists($conf['changelog_old'])) {
218 if (file_exists($conf['changelog'] . '_failed')) {
220 } elseif (file_exists($conf['changelo
[all...]
H A Dinit.php40 if (!defined('DOKU_CONF')) define('DOKU_CONF', DOKU_INC . 'conf/');
72 global $conf;
73 $conf = [];
106 if ($conf['canonical']) {
121 define('DOKU_COOKIE', 'DW' . md5(DOKU_REL . (($conf['securecookie']) ? $serverPort : '')));
133 define('DOKU_TPL', DOKU_BASE . 'lib/tpl/' . $conf['template'] . '/');
141 define('DOKU_TPLINC', DOKU_INC . 'lib/tpl/' . $conf['template'] . '/');
155 $conf['gzip_output'] &= (strpos($httpAcceptEncoding, 'gzip') !== false);
158 $conf['gzip_output'] &&
173 $cookieDir = empty($conf['cookiedi
68 $conf = array(); global() variable
[all...]
/dokuwiki/inc/Subscriptions/
H A DBulkSubscriptionSender.php16 * the given page if the needed $conf['subscribe_time'] has passed already.
33 global $conf;
54 if ($lastupdate + $conf['subscribe_time'] > time()) {
143 global $conf;
145 $lock = $conf['lockdir'] . '/_subscr_' . md5($id) . '.lock';
157 if ($conf['dperm']) {
158 chmod($lock, $conf['dperm']);
174 global $conf;
175 $lock = $conf['lockdir'] . '/_subscr_' . md5($id) . '.lock';
H A DMediaSubscriptionSender.php20 global $conf;
31 if ($rev && $conf['mediarevisions']) {
H A DSubscriptionSender.php65 global $conf;
74 $mail->from($conf['mailfromnobody']);
/dokuwiki/inc/Ui/
H A DEditor.php36 global $conf;
127 if ($conf['useacl'] && $INPUT->server->str('REMOTE_USER')) {
137 if ($wr && $conf['license']) {
139 'href' => $license[$conf['license']]['url'],
142 'target' => $conf['target']['extern'] ?: ''
146 . ' <a ' . buildAttributes($attr, true) . '>' . $license[$conf['license']]['name'] . '</a>');
H A DIndex.php47 global $conf;
57 search($data, $conf['datadir'], 'search_index', ['ns' => $ns]);
76 global $ID, $conf;
79 $nofollow = ($ID != $conf['start'] || $conf['sitemap']) ? 'rel="nofollow"' : '';
H A DSubscribe.php27 global $conf;
28 $stime_days = $conf['subscribe_time'] / 60 / 60 / 24;
/dokuwiki/inc/Utf8/
H A DSort.php13 * The collator is created using the locale given in $conf['lang'].
31 * Initialization of a collator using $conf['lang'] as the locale.
41 global $conf;
42 $lc = $conf['lang'];
160 * Filenames may not be equal to page names, depending on the setting in $conf['fnencode'],
/dokuwiki/lib/plugins/revert/
H A Dadmin.php124 global $conf;
/dokuwiki/inc/Action/
H A DExport.php42 global $conf;
61 $pre .= '<html lang="' . $conf['lang'] . '" dir="' . $lang['direction'] . '">' . DOKU_LF;
H A DSearch.php38 global $QUERY, $ID, $conf, $INPUT;
41 if ($ID !== $conf['start'] && !$INPUT->has('q')) {
83 global $conf, $INPUT, $QUERY, $ID;
93 if ($conf['search_nslimit'] > 0) {
96 $ns = implode(':', array_slice($nsParts, 0, $conf['search_nslimit']));
102 if ($conf['search_fragment'] !== 'exact') {
120 global $conf;
122 if ($conf['search_fragment'] === 'starts_with') {
125 if ($conf['search_fragment'] === 'ends_with') {
/dokuwiki/lib/plugins/config/core/
H A DConfigParser.php16 protected $varname = 'conf';
37 $conf = [];
39 return $conf;
/dokuwiki/lib/plugins/info/
H A Dsyntax.php327 global $conf;
330 if (($level >= $conf['toptoclevel']) && ($level <= $conf['maxtoclevel'])) {
336 'level' => $level - $conf['toptoclevel'] + 1
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingAuthtype.php53 global $conf;
54 if ($conf['authtype'] != $input) {
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php113 global $conf;
123 $dirs = glob($conf['logdir'] . '/*', GLOB_ONLYDIR);
/dokuwiki/inc/parser/
H A Dmetadata.php144 global $conf;
147 if ($level >= $conf['toptoclevel'] && $level <= $conf['maxtoclevel']) {
153 'level' => $level - $conf['toptoclevel'] + 1
574 * Should honor $conf['mailguard'] setting
680 global $conf;
686 if ($conf['useslash']) {
H A Drenderer.php654 * Should honor $conf['mailguard'] setting
892 global $conf;
898 if ($conf['useslash']) {
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php165 global $conf;
166 if ($this->id == $conf['authtype']) return true;
191 global $conf;
193 return ($conf['template'] == $this->getBase());
920 global $conf;
954 if (!$fileexists && $conf['fperm']) chmod($file, $conf['fperm']);
1146 $conf = confToHash("$this_dir/$f");
1147 $info['base'] = basename($conf['base']);
1259 global $conf;
[all...]
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php380 global $conf;
392 $notes[] = sprintf($this->lang['note_group'], $conf['defaultgroup']);
714 global $conf, $INPUT;
739 io_saveFile($conf['cachedir'] . '/sessionpurge', time());
776 global $conf, $INPUT;
836 io_saveFile($conf['cachedir'] . '/sessionpurge', time());
/dokuwiki/inc/Remote/
H A DApi.php151 global $conf;
152 if (!$conf['remote'] || trim($conf['remoteuser']) == '!!not set!!') {
166 global $conf;
171 if (!$conf['useacl']) return; // ACL is not enabled, so we can't check users
172 if (trim($conf['remoteuser']) === '') return; // all users are allowed
173 if (auth_isMember($conf['remoteuser'], $INPUT->server->str('REMOTE_USER'), (array)($USERINFO['grps'] ?? []))) {
/dokuwiki/bin/
H A Ddwpage.php207 global $conf;
224 if (stristr(realpath(dirname($localfile)), (string) realpath($conf['datadir'])) !== false) {

12345