Lines Matching refs:conf

26  * For $param='id' $conf['start'] is returned if no id was found.
39 global $conf;
45 if (empty($id) && $conf['userewrite'] == 2) {
50 if ($conf['basedir']) {
55 $script = $conf['basedir'] . $relpath .
84 if (str_ends_with($id, ':') || ($conf['useslash'] && str_ends_with($id, '/'))) {
85 if (page_exists($id . $conf['start'])) {
87 $id .= $conf['start'];
96 $id .= $conf['start'];
107 if ($id === '' && $param == 'id') $id = $conf['start'];
126 global $conf;
137 $sepchar = $conf['sepchar'];
145 if ($conf['useslash']) {
151 if ($conf['deaccent'] == 2 || $ascii) $id = Clean::romanize($id);
152 if ($conf['deaccent'] || $ascii) $id = Clean::deaccent($id, -1);
228 global $conf;
231 if ($p === $conf['start'] || $p === false || $p === '') {
234 return $conf['start'];
334 global $conf;
349 $fn = $conf['datadir'] . '/' . utf8_encodeFN($id) . '.txt';
351 $fn = $conf['olddir'] . '/' . utf8_encodeFN($id) . '.' . $rev . '.txt';
352 if ($conf['compression']) {
360 $fn .= '.' . $conf['compression'];
382 global $conf;
383 return $conf['lockdir'] . '/' . md5(cleanID($id)) . '.lock';
398 global $conf;
402 $fn = $conf['metadir'] . '/' . utf8_encodeFN($id) . $ext;
417 global $conf;
421 $fn = $conf['mediametadir'] . '/' . utf8_encodeFN($id) . $ext;
458 global $conf;
462 $fn = $conf['mediadir'] . '/' . utf8_encodeFN($id);
466 $fn = $conf['mediaolddir'] . '/' . utf8_encodeFN($name . '.' . ( (int) $rev ) . '.' . $ext[0]);
483 global $conf;
484 $file = DOKU_CONF . 'lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
486 $file = DOKU_INC . 'inc/lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
512 global $conf;
516 if ($conf['useslash']) $id = str_replace('/', ':', $id);
609 global $conf;
611 $file = $conf['cachedir'] . '/' . $md5[0] . '/' . $md5 . $ext;
617 * Checks a pageid against $conf['hidepages']
638 global $conf;
642 if (empty($conf['hidepages'])) return;
645 if (preg_match('/' . $conf['hidepages'] . '/ui', ':' . $data['id'])) {
704 global $conf;
705 if ($conf['fnencode'] == 'utf-8') return $file;
711 if ($conf['fnencode'] == 'safe') {
733 global $conf;
734 if ($conf['fnencode'] == 'utf-8') return $file;
736 if ($conf['fnencode'] == 'safe') {