Home
last modified time | relevance | path

Searched refs:conf (Results 1 - 25 of 102) sorted by relevance

12345

/dokuwiki/lib/plugins/safefnrecode/
H A Daction.php26 global $conf;
27 if ($conf['fnencode'] != 'safe') return;
29 if (!file_exists($conf['datadir'].'_safefn.recoded')) {
30 $this->recode($conf['datadir']);
31 touch($conf['datadir'].'_safefn.recoded');
34 if (!file_exists($conf['olddir'].'_safefn.recoded')) {
35 $this->recode($conf['olddir']);
36 touch($conf['olddir'].'_safefn.recoded');
39 if (!file_exists($conf['metadir'].'_safefn.recoded')) {
40 $this->recode($conf['metadi
[all...]
/dokuwiki/inc/
H A Dinit.php35 if(!defined('DOKU_CONF')) define('DOKU_CONF',DOKU_INC.'conf/');
67 global $conf;
68 $conf = array(); variable
101 if($conf['canonical']){
116 define('DOKU_COOKIE', 'DW' . md5(DOKU_REL . (($conf['securecookie']) ? $serverPort : '')));
128 define('DOKU_TPL', DOKU_BASE.'lib/tpl/'.$conf['template'].'/');
136 define('DOKU_TPLINC', DOKU_INC.'lib/tpl/'.$conf['template'].'/');
150 $conf['gzip_output'] &= (strpos($httpAcceptEncoding, 'gzip') !== false);
152 if ($conf['gzip_output'] &&
166 $cookieDir = empty($conf['cookiedi
[all...]
H A Dpageutils.php19 * For $param='id' $conf['start'] is returned if no id was found.
31 global $conf;
37 if(empty($id) && $conf['userewrite'] == 2){
42 if($conf['basedir']){
47 $script = $conf['basedir'] . $relpath .
74 if(substr($id,-1) == ':' || ($conf['useslash'] && substr($id,-1) == '/')){
75 if(page_exists($id.$conf['start'])){
77 $id = $id.$conf['start'];
86 $id = $id.$conf['start'];
97 if($id === '' && $param=='id') $id = $conf['star
[all...]
H A Dconfutils.php11 * (scheme.conf & stopwords.conf), e.g.
132 global $conf;
153 if(!$conf['jquerycdn']) {
156 } elseif($conf['jquerycdn'] == 'jquery') {
159 } elseif($conf['jquerycdn'] == 'cdnjs') {
219 $conf = array(); variable
233 $conf[strtolower($line[0])] = $line[1];
235 $conf[$line[0]] = $line[1];
239 return $conf;
258 $conf = array(); global() variable
275 $conf = json_decode($json, true); global() variable
[all...]
H A Dtemplate.php23 global $conf;
25 if(@is_readable(DOKU_INC.'lib/tpl/'.$conf['template'].'/'.$file))
26 return DOKU_INC.'lib/tpl/'.$conf['template'].'/'.$file;
41 global $conf;
42 if(!$tpl) $tpl = $conf['template'];
56 global $conf;
57 if(!$tpl) $tpl = $conf['template'];
125 global $conf;
141 if(!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminhead
1230 $conf = array(); global() variable
[all...]
H A Dindexer.php95 global $conf;
96 $swfile = DOKU_INC.'inc/lang/'.$conf['lang'].'/stopwords.txt';
254 global $conf;
255 $fn = $conf['indexdir'].'/'.$idx.$suffix.'.idx';
271 global $conf;
273 if ($conf['readdircache'] == 0) {
277 if (file_exists($conf['indexdir'].'/lengths.idx')
278 && (time() < @filemtime($conf['indexdir'].'/lengths.idx') + $conf['readdircache'])) {
280 ($lengths = @file($conf['indexdi
[all...]
H A DTaskRunner.php24 global $INPUT, $conf, $ID;
30 $defer = !@ignore_user_abort() || $conf['broken_iua'];
31 $output = $INPUT->has('debug') && $conf['allowdebug'];
95 global $conf;
99 $fn = ($media_changes ? $conf['media_changelog'] : $conf['changelog']);
102 // Trims the recent changes cache to the last $conf['changes_days'] recent
103 // changes or $conf['recent'] items, which ever is larger.
111 if (count($lines) <= $conf['recent']) {
119 $trim_time = time() - $conf['recent_day
[all...]
/dokuwiki/lib/tpl/dokuwiki/
H A Dtpl_header.php28 '<img src="'.$logo.'" '.$logoSize[3].' alt="" /> <span>'.$conf['title'].'</span>',
32 <?php if ($conf['tagline']): ?>
33 <p class="claim"><?php echo $conf['tagline']; ?></p>
39 <?php if ($conf['useacl']): ?>
70 <?php if($conf['breadcrumbs'] || $conf['youarehere']): ?>
72 <?php if($conf['youarehere']): ?>
75 <?php if($conf['breadcrumbs']): ?>
H A Dmain.php13 $hasSidebar = page_findnearest($conf['sidebar']);
16 <html lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
19 <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
43 <?php tpl_include_page($conf['sidebar'], true, true) ?>
/dokuwiki/lib/plugins/config/core/
H A DLoader.php28 global $conf;
31 $this->template = $conf['template'];
53 DOKU_PLUGIN . $plugin . '/conf/metadata.php',
64 tpl_incdir() . '/conf/metadata.php',
83 $conf = $this->loadConfigs($config_cascade['main']['default']); variable
87 $conf = array_merge( variable
88 $conf,
90 DOKU_PLUGIN . $plugin . '/conf/default.php',
98 $conf = array_merge( variable
99 $conf,
172 $conf = array(); global() variable
174 $conf = array_merge($conf, $this->parser->parse($file)); global() variable
224 $conf = $this->parser->parse($file); global() variable
[all...]
/dokuwiki/inc/Extension/
H A DPluginTrait.php14 protected $conf = array(); // array to hold plugin settings, best accessed via ->getConf() variable
109 global $conf;
111 $file = DOKU_CONF . 'plugin_lang/' . $plugin . '/' . $conf['lang'] . '/' . $id . '.' . $ext;
113 $file = DOKU_PLUGIN . $plugin . '/lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
129 global $conf, $config_cascade; // definitely don't invoke "global $lang"
142 if ($conf['lang'] != 'en') {
143 @include($path . $conf['lang'] . '/lang.php');
145 if (file_exists($config_file . $this->getPluginName() . '/' . $conf['lang'] . '/lang.php')) {
146 include($config_file . $this->getPluginName() . '/' . $conf['lang'] . '/lang.php');
168 if (isset($this->conf[
191 $this->conf =& $conf['plugin'][$plugin]; global() variable
204 $conf = array(); global() variable
[all...]
/dokuwiki/inc/HTTP/
H A DDokuHTTPClient.php21 global $conf;
27 $this->proxy_host = $conf['proxy']['host'];
28 $this->proxy_port = $conf['proxy']['port'];
29 $this->proxy_user = $conf['proxy']['user'];
30 $this->proxy_pass = conf_decodeString($conf['proxy']['pass']);
31 $this->proxy_ssl = $conf['proxy']['ssl'];
32 $this->proxy_except = $conf['proxy']['except'];
35 if($conf['allowdebug']) {
/dokuwiki/lib/exe/
H A Djs.php33 global $conf;
40 if(!$tpl) $tpl = $conf['template'];
45 DOKU_INC.'inc/lang/'.$conf['lang'].'/jquery.ui.datepicker.js',
101 'path' => empty($conf['cookiedir']) ? DOKU_REL : $conf['cookiedir'],
102 'secure' => $conf['securecookie'] && is_ssl()
127 $debugjs = ($conf['allowdebug'] && strpos($file, DOKU_INC.'lib/scripts/') !== 0);
139 if($conf['locktime'] != 0){
140 js_runonstart("dw_locktimer.init(".($conf['locktime'] - 60).",".$conf['usedraf
[all...]
/dokuwiki/inc/Action/
H A DSearch.php36 global $QUERY, $ID, $conf, $INPUT;
39 if ($ID !== $conf['start'] && !$INPUT->has('q')) {
81 global $conf, $INPUT, $QUERY, $ID;
91 if ($conf['search_nslimit'] > 0) {
94 $ns = implode(':', array_slice($nsParts, 0, $conf['search_nslimit']));
100 if ($conf['search_fragment'] !== 'exact') {
118 global $conf;
120 if ($conf['search_fragment'] === 'starts_with') {
123 if ($conf['search_fragment'] === 'ends_with') {
H A DLocked.php39 global $conf;
44 $expire = dformat($locktime + $conf['locktime']);
45 $min = round(($conf['locktime'] - (time() - $locktime) )/60);
/dokuwiki/inc/Sitemap/
H A DMapper.php34 global $conf;
35 if($conf['sitemap'] < 1 || !is_numeric($conf['sitemap'])) return false;
46 @filemtime($sitemap) > (time()-($conf['sitemap']*86400))){ // 60*60*24=86400
108 global $conf;
110 $sitemap = $conf['cachedir'].'/sitemap.xml';
124 global $conf;
125 return $conf['compression'] === 'bz2' || $conf['compression'] === 'gz';
/dokuwiki/inc/Cache/
H A DCacheRenderer.php18 global $conf;
36 if ($this->_time >= @filemtime($conf['cachedir'] . '/purgefile')) {
59 global $conf;
64 if ($conf['cachetime'] == -1) {
67 } elseif ($conf['cachetime'] > 0) {
69 min($this->depends['age'], $conf['cachetime']) : $conf['cachetime'];
/dokuwiki/
H A Dfeed.php8 * @global array $conf
41 $depends['age'] = $conf['rss_update'];
52 if($conf['allowdebug']) header("X-CacheUsed: $cache->cache");
61 $rss->title = $conf['title'].(($opt['namespace']) ? ' '.$opt['namespace'] : '');
67 $image->title = $conf['title'];
110 global $conf;
123 'link_to' => array('str', 'linkto', $conf['rss_linkto']),
125 'item_content' => array('str', 'content', $conf['rss_content']),
133 'items' => array('int', 'num', $conf['recent']),
143 'content_type' => array('str', 'view', $conf['rss_medi
[all...]
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php41 global $conf;
42 $this->autosubmitFile = $conf['cachedir'].'/autosubmit.txt';
43 $this->autosubmitErrorFile = $conf['cachedir'].'/autosubmitError.txt';
44 $this->popularityLastSubmitFile = $conf['cachedir'].'/lastSubmitTime.txt';
113 global $conf;
125 $data['language'] = $conf['lang'];
130 $data['conf_useacl'] = $conf['useacl'];
131 $data['conf_authtype'] = $conf['authtype'];
132 $data['conf_template'] = $conf['template'];
136 search($list, $conf['datadi
[all...]
/dokuwiki/inc/Menu/Item/
H A DIndex.php14 global $conf;
22 if($conf['start'] == $ID && !$conf['sitemap']) {
/dokuwiki/inc/Subscriptions/
H A DRegistrationSubscriptionSender.php21 global $conf;
22 if (empty($conf['registernotify'])) {
33 $conf['registernotify'],
H A DBulkSubscriptionSender.php18 * the given page if the needed $conf['subscribe_time'] has passed already.
35 global $conf;
56 if ($lastupdate + $conf['subscribe_time'] > time()) {
145 global $conf;
147 $lock = $conf['lockdir'] . '/_subscr_' . md5($id) . '.lock';
155 if (!@mkdir($lock, $conf['dmode'])) {
159 if ($conf['dperm']) {
160 chmod($lock, $conf['dperm']);
176 global $conf;
177 $lock = $conf['lockdi
[all...]
/dokuwiki/lib/tpl/
H A Dindex.php48 $styleUtils = new \dokuwiki\StyleUtils($conf['template']);
53 echo "<caption>".hsc($conf['template'])."'s style.ini</caption>";
67 echo "<p>Non-existent or invalid template or style.ini: <strong>".hsc($conf['template'])."</strong></p>";
/dokuwiki/lib/plugins/authad/
H A Dauth.php14 * $conf['authtype'] = 'authad';
16 * $conf['plugin']['authad']['account_suffix'] = '@my.domain.org';
17 * $conf['plugin']['authad']['base_dn'] = 'DC=my,DC=domain,DC=org';
18 * $conf['plugin']['authad']['domain_controllers'] = 'srv1.domain.org,srv2.domain.org';
21 * $conf['plugin']['authad']['sso'] = 1;
22 * $conf['plugin']['authad']['admin_username'] = 'root';
23 * $conf['plugin']['authad']['admin_password'] = 'pass';
24 * $conf['plugin']['authad']['real_primarygroup'] = 1;
25 * $conf['plugin']['authad']['use_ssl'] = 1;
26 * $conf['plugi
[all...]
/dokuwiki/inc/Ui/
H A DIndex.php50 global $conf;
60 search($data, $conf['datadir'], 'search_index', array('ns' => $ns));
80 global $ID, $conf;
83 $nofollow = ($ID != $conf['start'] || $conf['sitemap']) ? 'rel="nofollow"' : '';

Completed in 9 milliseconds

12345