/dokuwiki/inc/ |
H A D | io.php | 31 global $conf; 39 $dir = $conf[$basedir] . '/' . utf8_encodeFN(str_replace(':', '/', $id)); 254 global $conf; 282 if (!$fileexists && $conf['fperm']) { 283 chmod($file, $conf['fperm']); 425 * inside $conf['lockdir'] 436 global $conf; 438 $lockDir = $conf['lockdir'] . '/' . md5($file); 447 if ($conf['dperm']) { 448 chmod($lockDir, $conf['dper [all...] |
H A D | auth.php | 39 global $conf; 50 if (!$conf['useacl']) return false; 54 if ($conf['authtype'] === $plugin) { 75 if (!$conf['rememberme']) $INPUT->set('r', false); 273 global $conf; 311 ($session['time'] >= time() - $conf['auth_security_timeout']) && 365 * cookies from $conf['metadir'].'/_htcookiesalt' 381 global $conf; 382 $file = $conf['metadir'] . '/_htcookiesalt'; 384 $file = $conf['metadi [all...] |
H A D | media.php | 73 global $conf; 95 if ($conf['fperm']) chmod($src, $conf['fperm']); 229 global $conf; 231 if ($conf['refcheck']) { 456 global $lang, $conf; 477 $auth_ow = (($conf['mediarevisions']) ? AUTH_UPLOAD : AUTH_DELETE); 539 global $conf; 559 // (Should normally chmod to $conf['fperm'] only if $conf['fper [all...] |
H A D | fetch.functions.php | 23 * @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 D | changelog.php | 173 global $conf; 183 $lines = @file($conf['media_changelog']) ?: []; 185 $lines = @file($conf['changelog']) ?: []; 195 $media_lines = @file($conf['media_changelog']) ?: []; 275 global $conf; 284 $lines = @file($conf['media_changelog']); 286 $lines = @file($conf['changelog']);
|
H A D | Mailer.class.php | 42 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 D | Ajax.php | 192 global $conf; 202 search($data, $conf['mediadir'], 'search_index', ['nofiles' => true], $dir); 325 global $conf; 335 search($data, $conf['datadir'], 'search_index', ['ns' => $ns], $dir); 350 global $conf; 371 if ($conf['useheading'] == '1' || $conf['useheading'] == 'content') { 401 'sneakyacl' => $conf['sneaky_index'] 405 search($data, $conf['datadir'], 'search_universal', $opts, $nsd);
|
/dokuwiki/conf/ |
H A D | mysql.conf.php.example | 26 $conf['plugin']['authmysql']['server'] = ''; 27 $conf['plugin']['authmysql']['user'] = ''; 28 $conf['plugin']['authmysql']['password'] = ''; 29 $conf['plugin']['authmysql']['database'] = ''; 34 $conf['plugin']['authmysql']['debug'] = 0; 41 $conf['plugin']['authmysql']['forwardClearPass'] = 0; 48 $conf['plugin']['authmysql']['TablesToLock']= array("users", "users AS u","groups", "groups AS g", "usergroup", "usergroup AS ug"); 66 $conf['plugin']['authmysql']['checkPass'] = "SELECT pass 85 $conf['plugin']['authmysql']['getUserInfo'] = "SELECT pass, CONCAT(firstname,' ',lastname) AS name, email AS mail 97 $conf['plugi [all...] |
H A D | .htaccess | 1 ## no access to the conf directory
|
/dokuwiki/inc/Parsing/ParserMode/ |
H A D | Quotes.php | 10 global $conf; 15 if ($conf['typography'] == 2) {
|
/dokuwiki/lib/tpl/dokuwiki/ |
H A D | detail.php | 15 <html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js"> 20 [<?php echo strip_tags($conf['title'])?>]
|
/dokuwiki/inc/Ui/ |
H A D | Editor.php | 36 global $conf; 127 if ($conf['useacl'] && $INPUT->server->str('REMOTE_USER')) { 137 if ($wr && $conf['license']) { 139 'href' => $license[$conf['license']]['url'], 142 'target' => $conf['target']['extern'] ?: '' 146 . ' <a ' . buildAttributes($attr, true) . '>' . $license[$conf['license']]['name'] . '</a>');
|
/dokuwiki/inc/ChangeLog/ |
H A D | PageChangeLog.php | 53 global $conf; 60 io_saveFile($conf['changelog'], $logline, true); //global changelog cache
|
H A D | MediaChangeLog.php | 53 global $conf; 60 io_saveFile($conf['media_changelog'], $logline, $append = true); //global changelog cache
|
/dokuwiki/inc/Subscriptions/ |
H A D | MediaSubscriptionSender.php | 20 global $conf; 31 if ($rev && $conf['mediarevisions']) {
|
/dokuwiki/lib/plugins/config/core/Setting/ |
H A D | SettingAuthtype.php | 53 global $conf; 54 if ($conf['authtype'] != $input) {
|
/dokuwiki/lib/plugins/config/core/ |
H A D | Writer.php | 36 global $conf; 53 $out .= $setting->out('conf', 'php'); 64 if ($conf['fperm']) chmod($this->savefile, $conf['fperm']);
|
H A D | ConfigParser.php | 16 protected $varname = 'conf'; 37 $conf = []; 39 return $conf;
|
/dokuwiki/inc/Remote/ |
H A D | ApiCore.php | 99 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 D | Api.php | 151 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'] ?? []))) {
|
/dokuwiki/inc/Search/ |
H A D | Indexer.php | 458 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/lib/plugins/styling/ |
H A D | popup.php | 20 <html lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
/dokuwiki/inc/File/ |
H A D | Resolver.php | 34 global $conf; 37 if ($conf['useslash']) $id = str_replace('/', ':', $id);
|
/dokuwiki/inc/Action/ |
H A D | Subscribe.php | 32 global $conf; 33 if (isset($conf['subscribers']) && !$conf['subscribers']) throw new ActionDisabledException();
|
/dokuwiki/bin/ |
H A D | wantedpages.php | 133 global $conf; 134 $trunclen = strlen($conf['datadir'] . ':'); 165 global $conf; 170 if ($ins[0] == 'internallink' || ($conf['camelcase'] && $ins[0] == 'camelcaselink')) {
|