Home
last modified time | relevance | path

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

12345

/dokuwiki/inc/Action/
H A DRegister.php33 global $conf;
34 if (isset($conf['openregister']) && !$conf['openregister']) throw new ActionDisabledException();
/dokuwiki/inc/Cache/
H A DCache.php196 global $conf;
200 if (!$conf['allowdebug']) {
205 $file = $conf['cachedir'] . '/cache_stats.txt';
H A DCacheRenderer.php17 global $conf;
35 if ($this->_time >= @filemtime($conf['cachedir'] . '/purgefile')) {
60 global $conf;
65 if ($conf['cachetime'] == -1) {
68 } elseif ($conf['cachetime'] > 0) {
70 min($this->depends['age'], $conf['cachetime']) : $conf['cachetime'];
/dokuwiki/inc/
H A Dfetch.functions.php23 * @param int $cache remaining cache time in seconds (-1 for $conf['cache'], 0 for no-cache)
34 global $conf;
43 $maxage = max($conf['cachetime'], 3600); // cachetime or one hour
203 global $conf;
206 if (strtolower($cache) == 'recache') return $conf['cachetime']; //use standard cache
H A Dhtml.php204 global $conf;
214 if ($conf['userewrite'] == 2) {
216 } elseif ($conf['userewrite']) {
718 global $conf;
725 $cnf = $conf;
746 echo '<b>$conf:</b><pre>';
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 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 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']) {
/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/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/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/lib/tpl/dokuwiki/
H A Dtpl_footer.php18 $target = ($conf['target']['extern']) ? 'target="' . $conf['target']['extern'] . '"' : '';
/dokuwiki/lib/tpl/
H A Dindex.php50 $styleUtils = new \dokuwiki\StyleUtils($conf['template']);
55 echo "<caption>" . hsc($conf['template']) . "'s style.ini</caption>";
69 echo "<p>Non-existent or invalid template or style.ini: <strong>" . hsc($conf['template']) . "</strong></p>";
/dokuwiki/lib/plugins/extension/helper/
H A Dlist.php153 global $conf;
164 'target' => $conf['target'][$linktype],
167 if ($linktype == 'extern' && $conf['relnofollow']) {
316 global $conf;
331 'target' => $conf['target'][$linktype],
334 if ($conf['relnofollow']) {
568 global $conf;
600 $conf['authtype'] != $extension->getID()

12345