Lines Matching refs:conf

410     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['start'];
528 if ($conf['userewrite'] == 2) {
531 } elseif ($conf['userewrite']) {
560 global $conf;
575 if ($conf['userewrite'] == 2) {
578 } elseif ($conf['userewrite'] == 1) {
606 global $conf;
659 if ($conf['userewrite'] == 1) {
664 } elseif ($conf['userewrite'] == 1) {
671 if ($conf['userewrite']) {
729 global $conf;
734 if (!$conf['usewordblock']) return false;
796 global $INPUT, $conf;
821 if (!empty($conf['trustedproxy']) && preg_match('/' . $conf['trustedproxy'] . '/', $i)) {
887 * If $conf['dnslookups'] is disabled it simply returns the input string
896 global $conf;
897 if (!$conf['dnslookups']) return $ips;
924 global $conf;
934 if ((time() - filemtime($lock)) > $conf['locktime']) {
957 global $conf;
961 if ($conf['locktime'] == 0) {
1076 global $conf;
1099 $len = strlen(rtrim($conf['datadir'], '/'));
1140 global $conf;
1146 $page = strtr($file, $conf['sepchar'], ' ');
1185 $conf['dformat']
1349 global $conf;
1355 if (empty($conf['notify'])) return false; //notify enabled?
1357 $to = $conf['notify'];
1360 if ($conf['useacl'] && $INPUT->server->str('REMOTE_USER') && $minor) return false; //skip minors
1484 * The format default to $conf['dformat']. It is passed to
1491 * @param string $format empty default to $conf['dformat'], or provide format as recognized by strftime()
1496 global $conf;
1500 if (!$format) $format = $conf['dformat'];
1525 * return an obfuscated email address in line with $conf['mailguard'] setting
1535 global $conf;
1537 switch ($conf['mailguard']) {
1660 global $conf, $INFO;
1700 if ($conf['showuseras'] != 'loginname' && isset($info) && $info) {
1701 switch ($conf['showuseras']) {
1720 if (in_array($conf['showuseras'], ['email_link', 'username_link'])) {
1725 if ($conf['showuseras'] == 'email_link') {
1783 global $conf;
1784 if (!$conf['license']) return '';
1785 if (!is_array($license[$conf['license']])) return '';
1787 $try[] = 'lib/images/license/' . $type . '/' . $conf['license'] . '.png';
1788 $try[] = 'lib/images/license/' . $type . '/' . $conf['license'] . '.gif';
1789 if (str_starts_with($conf['license'], 'cc-')) {
1952 global $conf;
1985 $cookieDir = empty($conf['cookiedir']) ? DOKU_REL : $conf['cookiedir'];
1992 'secure' => ($conf['securecookie'] && is_ssl()),