Home
last modified time | relevance | path

Searched refs:conf (Results 26 – 50 of 122) sorted by path

12345

/dokuwiki/inc/ChangeLog/
H A DMediaChangeLog.php53 global $conf;
60 io_saveFile($conf['media_changelog'], $logline, $append = true); //global changelog cache
H A DPageChangeLog.php53 global $conf;
60 io_saveFile($conf['changelog'], $logline, true); //global changelog cache
/dokuwiki/inc/
H A DDraft.php72 global $INPUT, $INFO, $EVENT_HANDLER, $conf;
73 if (!$conf['usedraft']) {
H A DErrorHandler.php154 global $conf;
168 if ($ex->getSeverity() === E_WARNING && $conf['hidewarnings']) {
H A DLogger.php31 global $conf;
35 $dontlog = explode(',', $conf['dontlog']);
211 global $conf;
218 return $conf['logdir'] . '/' . $this->facility . '/' . date('Y-m-d', $date) . '.log';
H A DMailer.class.php42 global $conf;
57 $this->allowhtml = (bool)$conf['htmlmail'];
60 if (!empty($conf['mailreturnpath'])) {
61 $this->setHeader('Return-Path', $conf['mailreturnpath']);
65 $this->setHeader('X-DokuWiki-Title', $conf['title']);
68 $this->setHeader('List-Id', $conf['title'] . ' <' . $listid . '>');
321 * This is set to $conf['mailfrom'] when not specified so you shouldn't need
564 global $conf;
567 if (empty($this->headers['From'])) $this->from($conf['mailfrom']);
577 if (empty($conf['mailprefi
[all...]
H A DManifest.php13 global $conf;
18 $manifest['name'] = $conf['title'];
22 $manifest['short_name'] = $conf['title'];
26 $manifest['description'] = $conf['tagline'];
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']) {
/dokuwiki/inc/Extension/
H A DAuthPlugin.php200 global $conf;
433 * in $conf['auth_security_timeout'].
456 global $conf;
457 return ($_SESSION[DOKU_COOKIE]['auth']['time'] >= @filemtime($conf['cachedir'] . '/sessionpurge'));
H A DPluginController.php253 global $conf;
274 if ($conf['fperm']) chmod($backup, $conf['fperm']);
H A DPluginTrait.php15 protected $conf = []; // array to hold plugin settings, best accessed via ->getConf()
133 global $conf;
135 $file = DOKU_CONF . 'plugin_lang/' . $plugin . '/' . $conf['lang'] . '/' . $id . '.' . $ext;
137 $file = DOKU_PLUGIN . $plugin . '/lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
153 global $conf, $config_cascade; // definitely don't invoke "global $lang"
166 if ($conf['lang'] != 'en') {
167 @include($path . $conf['lang'] . '/lang.php');
169 if (file_exists($config_file . $this->getPluginName() . '/' . $conf['lang'] . '/lang.php')) {
170 include($config_file . $this->getPluginName() . '/' . $conf['lang'] . '/lang.php');
192 if (isset($this->conf[
14 protected $conf = array(); // array to hold plugin settings, best accessed via ->getConf() global() variable
[all...]
/dokuwiki/inc/File/
H A DPageFile.php87 global $conf;
129 $is_minor_change = ($minor && $conf['useacl'] && $INPUT->server->str('REMOTE_USER'));
213 io_saveFile($conf['cachedir'] . '/purgefile', time());
H A DPageResolver.php18 global $conf;
32 if ($conf['autoplural']) {
55 global $conf;
59 if (page_exists($id . $conf['start'], $rev, true, $isDateAt)) {
61 return $id . $conf['start'];
71 return $id . $conf['start'];
H A DResolver.php34 global $conf;
37 if ($conf['useslash']) $id = str_replace('/', ':', $id);
/dokuwiki/inc/HTTP/
H A DDokuHTTPClient.php22 global $conf;
28 $this->proxy_host = $conf['proxy']['host'];
29 $this->proxy_port = $conf['proxy']['port'];
30 $this->proxy_user = $conf['proxy']['user'];
31 $this->proxy_pass = conf_decodeString($conf['proxy']['pass']);
32 $this->proxy_ssl = $conf['proxy']['ssl'];
33 $this->proxy_except = $conf['proxy']['except'];
36 if ($conf['allowdebug']) {
/dokuwiki/inc/Menu/Item/
H A DIndex.php15 global $conf;
23 if ($conf['start'] == $ID && !$conf['sitemap']) {
/dokuwiki/inc/Parsing/ParserMode/
H A DQuotes.php10 global $conf;
15 if ($conf['typography'] == 2) {
/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'] ?? []))) {
H A DApiCore.php99 global $conf;
100 return $conf['title'];
136 global $conf;
140 if (!$conf['useacl']) return 0;
173 global $conf;
175 if (!$conf['useacl']) return 0;
249 global $conf;
269 search($data, $conf['datadir'], 'search_allpages', $opts, $dir);
356 * Only changes within the configured `$conf['recent']` range are returned. This is the default
466 * The number of returned pages is set by `$conf['recen
[all...]
H A DXmlRpcServer.php30 global $conf;
32 if (!$conf['remote']) {
35 if (!empty($conf['remotecors'])) {
36 header('Access-Control-Allow-Origin: ' . $conf['remotecors']);
/dokuwiki/inc/Search/
H A DIndexer.php458 global $conf;
462 @unlink($conf['indexdir'] . '/page.idx');
463 @unlink($conf['indexdir'] . '/title.idx');
464 @unlink($conf['indexdir'] . '/pageword.idx');
465 @unlink($conf['indexdir'] . '/metadata.idx');
466 $dir = @opendir($conf['indexdir']);
477 @unlink($conf['indexdir'] . "/$f");
480 @unlink($conf['indexdir'] . '/lengths.idx');
946 global $conf;
949 $lock = $conf['lockdi
[all...]
/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/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 DRegistrationSubscriptionSender.php20 global $conf;
21 if (empty($conf['registernotify'])) {
32 $conf['registernotify'],

12345