Home
last modified time | relevance | path

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

12345

/dokuwiki/inc/Action/
H A DAbstractAclAction.php21 global $conf;
23 if (!$conf['useacl']) throw new ActionAclRequiredException();
H A DSitemap.php33 global $conf;
35 if ($conf['sitemap'] < 1 || !is_numeric($conf['sitemap'])) {
H A DResendpwd.php33 global $conf;
34 if (isset($conf['resendpasswd']) && !$conf['resendpasswd'])
70 global $conf;
85 $tfile = $conf['cachedir'] . '/' . $token[0] . '/' . $token . '.pwauth';
106 if (!$conf['autopasswd']) { // we let the user choose a password
157 $tfile = $conf['cachedir'] . '/' . $token[0] . '/' . $token . '.pwauth';
/dokuwiki/lib/plugins/styling/
H A Dadmin.php64 global $conf;
67 $styleUtil = new StyleUtils($conf['template'], true, true);
156 global $conf;
157 $ini = $conf['cachedir'] . '/preview.ini';
166 global $conf;
167 $ini = $conf['cachedir'] . '/preview.ini';
215 global $conf;
216 $ini = DOKU_CONF . "tpl/" . $conf['template'] . "/style.ini";
/dokuwiki/inc/
H A Dindexer.php101 global $conf;
102 $swfile = DOKU_INC . 'inc/lang/' . $conf['lang'] . '/stopwords.txt';
262 global $conf;
263 $fn = $conf['indexdir'] . '/' . $idx . $suffix . '.idx';
280 global $conf;
282 if ($conf['readdircache'] == 0) {
287 file_exists($conf['indexdir'] . '/lengths.idx')
288 && (time() < @filemtime($conf['indexdir'] . '/lengths.idx') + $conf['readdircache'])
291 ($lengths = @file($conf['indexdi
[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 Dmail.php39 global $conf;
69 $conf['mailfrom']
73 if ($from != $conf['mailfrom']) {
74 $conf['mailfromnobody'] = $noreply;
76 $conf['mailfromnobody'] = $from;
78 $conf['mailfrom'] = $from;
H A Dtemplate.php36 global $conf;
38 if (@is_readable(DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file))
39 return DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file;
56 global $conf;
57 if (!$tpl) $tpl = $conf['template'];
73 global $conf;
74 if (!$tpl) $tpl = $conf['template'];
147 global $conf;
158 if (!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminhead
[all...]
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 DTaskRunner.php25 global $INPUT, $conf, $ID;
31 $defer = !@ignore_user_abort() || $conf['broken_iua'];
32 $output = $INPUT->has('debug') && $conf['allowdebug'];
100 global $conf;
104 $fn = ($media_changes ? $conf['media_changelog'] : $conf['changelog']);
107 // Trims the recent changes cache to the last $conf['changes_days'] recent
108 // changes or $conf['recent'] items, which ever is larger.
118 if (count($lines) <= $conf['recent']) {
126 $trim_time = time() - $conf['recent_day
[all...]
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 Dhttputils.php69 global $conf;
72 if ($conf['xsendfile'] == 1) {
76 } elseif ($conf['xsendfile'] == 2) {
80 } elseif ($conf['xsendfile'] == 3) {
222 global $conf;
230 if ($conf['allowdebug']) header("X-CacheUsed: $cache");
233 if ($conf['gzip_output'] && http_gzip_valid($cache)) {
255 global $conf;
262 if ($conf['gzip_output'] && DOKU_HAS_GZIP) {
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...]
/dokuwiki/
H A Dfeed.php9 * @global array $conf
48 $depends['age'] = $conf['rss_update'];
59 if ($conf['allowdebug']) header("X-CacheUsed: $cache->cache");
/dokuwiki/inc/Ui/
H A DRecent.php45 global $conf, $lang;
70 if ($conf['mediarevisions']) {
120 global $ID, $conf;
123 if ($this->show_changes == 'mediafiles' && $conf['mediarevisions']) {
127 } elseif ($conf['mediarevisions']) {
135 $recents = getRecents($first, $conf['recent'] + 1, getNS($ID), $flags);
138 $recents = getRecents($first, $conf['recent'] + 1, getNS($ID), $flags);
142 if (count($recents) > $conf['recent']) {
183 global $conf, $lang;
185 $last = $first + $conf['recen
[all...]
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 DRevisions.php50 global $conf;
58 $num = $conf['recent'];
95 global $conf;
98 $last = $first + $conf['recent'];
100 $first = max($first - $conf['recent'], -1);
H A DAdmin.php90 global $conf;
91 if (!str_starts_with($conf['savedir'], './')) return;
92 $img = DOKU_URL . $conf['savedir'] .
127 global $conf;
150 'prompt' => $obj->getMenuText($conf['lang']),
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php42 global $conf;
43 $this->autosubmitFile = $conf['cachedir'] . '/autosubmit.txt';
44 $this->autosubmitErrorFile = $conf['cachedir'] . '/autosubmitError.txt';
45 $this->popularityLastSubmitFile = $conf['cachedir'] . '/lastSubmitTime.txt';
133 global $conf;
145 $data['language'] = $conf['lang'];
150 $data['conf_useacl'] = $conf['useacl'];
151 $data['conf_authtype'] = $conf['authtype'];
152 $data['conf_template'] = $conf['template'];
156 search($list, $conf['datadi
[all...]
/dokuwiki/lib/tpl/dokuwiki/
H A Dtpl_footer.php18 $target = ($conf['target']['extern']) ? 'target="' . $conf['target']['extern'] . '"' : '';
/dokuwiki/inc/Remote/
H A DXmlRpcServer.php30 global $conf;
32 if (!$conf['remote']) {
35 if (!empty($conf['remotecors'])) {
36 header('Access-Control-Allow-Origin: ' . $conf['remotecors']);
/dokuwiki/lib/plugins/authad/
H A Dauth.php18 * $conf['authtype'] = 'authad';
20 * $conf['plugin']['authad']['account_suffix'] = '@my.domain.org';
21 * $conf['plugin']['authad']['base_dn'] = 'DC=my,DC=domain,DC=org';
22 * $conf['plugin']['authad']['domain_controllers'] = 'srv1.domain.org,srv2.domain.org';
25 * $conf['plugin']['authad']['sso'] = 1;
26 * $conf['plugin']['authad']['admin_username'] = 'root';
27 * $conf['plugin']['authad']['admin_password'] = 'pass';
28 * $conf['plugin']['authad']['real_primarygroup'] = 1;
29 * $conf['plugin']['authad']['use_ssl'] = 1;
30 * $conf['plugi
[all...]
/dokuwiki/conf/
H A Dlocal.php.dist12 //$conf['title'] = 'My Wiki'; //what to show in the title
14 //$conf['useacl'] = 1; //Use Access Control Lists to restrict access?
15 //$conf['superuser'] = 'joe';
H A Dlicense.php8 if(empty($LC)) $LC = empty($conf['lang']) ? 'en' : $conf['lang'];
/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';

12345