Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 199) sorted by relevance

12345678

/dokuwiki/conf/
H A Ddokuwiki.php16 $conf['title'] = 'DokuWiki'; //what to show in the title
17 $conf['start'] = 'start'; //name of start page
18 $conf['lang'] = 'en'; //your language
19 $conf['template'] = 'dokuwiki'; //see lib/tpl directory
20 $conf['tagline'] = ''; //tagline in header (if template supports it)
21 $conf['sidebar'] = 'sidebar'; //name of sidebar in root namespace (if template supports…
22 $conf['license'] = 'cc-by-nc-sa'; //see conf/license.php
23 $conf['savedir'] = './data'; //where to store all the files
24 $conf['basedir'] = ''; //absolute dir from serveroot - blank for autodetection
25 $conf['baseurl'] = ''; //URL to server including protocol - blank for autodetect
[all …]
/dokuwiki/lib/plugins/config/_test/data/
H A Dconfig.php4 $conf['int1'] = 42;
5 $conf['int2'] = 6*7;
7 $conf['str1'] = 'Hello World';
8 $conf['str2'] = 'G\'day World';
9 $conf['str3'] = "Hello World";
10 $conf['str4'] = "Hello 'World'";
11 $conf['str5'] = "Hello \"World\"";
13 $conf['arr1'] = array('foo','bar', 'baz');
15 $conf['foo']['bar'] = 'x1';
16 $conf['foo']['baz'] = 'x2';
[all …]
/dokuwiki/lib/plugins/authldap/conf/
H A Ddefault.php3 $conf['server'] = '';
4 $conf['port'] = 389;
5 $conf['usertree'] = '';
6 $conf['grouptree'] = '';
7 $conf['userfilter'] = '';
8 $conf['groupfilter'] = '';
9 $conf['version'] = 2;
10 $conf['starttls'] = 0;
11 $conf['referrals'] = -1;
12 $conf['deref'] = 0;
[all …]
/dokuwiki/lib/plugins/authpdo/conf/
H A Ddefault.php9 $conf['debug'] = 0;
10 $conf['dsn'] = '';
11 $conf['user'] = '';
12 $conf['pass'] = '';
20 $conf['select-user'] = '';
28 $conf['check-pass'] = '';
36 $conf['select-user-groups'] = '';
43 $conf['select-groups'] = '';
50 $conf['insert-user'] = '';
57 $conf['delete-user'] = '';
[all …]
/dokuwiki/lib/plugins/authad/conf/
H A Ddefault.php3 $conf['account_suffix'] = '';
4 $conf['base_dn'] = '';
5 $conf['domain_controllers'] = '';
6 $conf['sso'] = 0;
7 $conf['sso_charset'] = '';
8 $conf['admin_username'] = '';
9 $conf['admin_password'] = '';
10 $conf['real_primarygroup'] = 0;
11 $conf['use_ssl'] = 0;
12 $conf['use_tls'] = 0;
[all …]
/dokuwiki/_test/tests/inc/
H A Dcommon_wl.test.php6 global $conf;
7 $conf['useslash'] = 0;
8 $conf['userewrite'] = 0;
9 $conf['start'] = 'start';
15 global $conf;
16 $conf['useslash'] = 0;
17 $conf['userewrite'] = 1;
18 $conf['start'] = 'start';
24 global $conf;
25 $conf['useslash'] = 0;
[all …]
H A Dpageutils_getid.test.php9 global $conf;
10 $conf['basedir'] = '/';
11 $conf['userewrite'] = 0;
26 global $conf;
27 $conf['basedir'] = '//';
28 $conf['userewrite'] = 2;
29 $conf['deaccent'] = 0; // the default (1) gives me strange exceptions
43 global $conf;
44 $conf['basedir'] = '';
45 $conf['userewrite'] = '2';
[all …]
H A Dinit_getbaseurl.test.php11 global $conf;
12 $conf['basedir'] = '';
13 $conf['baseurl'] = '';
14 $conf['canonical'] = 0;
34 global $conf;
35 $conf['basedir'] = '';
36 $conf['baseurl'] = '';
37 $conf['canonical'] = 0;
57 global $conf;
58 $conf['basedir'] = '';
[all …]
H A Dparserutils_get_renderer.test.php9 global $conf;
11 $old_conf = $conf;
12 $conf['renderer_xhtml'] = 'xhtml';
16 $conf = $old_conf;
21 global $conf;
24 $old_conf = $conf;
25 $conf['renderer_xhtml'] = 'get_renderer_test';
31 $conf = $old_conf;
37 global $conf;
39 $old_conf = $conf;
[all …]
H A Dcommon_obfuscate.test.php6 global $conf;
7 $conf['mailguard'] = 'none';
12 global $conf;
13 $conf['mailguard'] = 'hex';
19 global $conf;
20 $conf['mailguard'] = 'hex';
26 global $conf;
27 $conf['mailguard'] = 'visible';
H A Dcommon_ml.test.php8 global $conf;
9 $conf['useslash'] = 0;
10 $conf['userewrite'] = 0;
11 $conf['start'] = 'start';
17 global $conf;
18 $conf['useslash'] = 0;
19 $conf['userewrite'] = 0;
28 global $conf;
29 $conf['useslash'] = 0;
30 $conf['userewrite'] = 0;
[all …]
/dokuwiki/lib/plugins/config/_test/
H A DConfigParserTest.php17 $conf = $parser->parse(__DIR__ . '/data/config.php');
21 $this->assertEquals('42', $conf['int1']);
22 $this->assertEquals('6*7', $conf['int2']);
24 $this->assertEquals('Hello World', $conf['str1']);
25 $this->assertEquals('G\'day World', $conf['str2']);
26 $this->assertEquals('Hello World', $conf['str3']);
27 $this->assertEquals("Hello 'World'", $conf['str4']);
28 $this->assertEquals('Hello "World"', $conf['str5']);
30 $this->assertEquals(array('foo', 'bar', 'baz'), $conf['arr1']);
35 $conf = $parser->parse(__DIR__ . '/data/config.php');
[all …]
H A DLoaderExtraDefaultsTest.php51 $conf = $loader->loadDefaults();
52 $this->assertTrue(is_array($conf));
55 $this->assertArrayHasKey('title', $conf);
56 $this->assertEquals('New default Title', $conf['title']);
57 $this->assertEquals('New default Tagline', $conf['tagline']);
60 $this->assertArrayHasKey('plugin____testing____schnibble', $conf);
61 $this->assertEquals(1, $conf['plugin____testing____schnibble']);
62 $this->assertEquals('New default setting', $conf['plugin____testing____second']);
/dokuwiki/_test/conf/
H A Dlocal.php3 $conf['savedir'] = DOKU_TMP_DATA; //where to store all the files
5 $conf['title'] = 'My Test Wiki'; //what to show in the title
7 $conf['useacl'] = 1; //Use Access Control Lists to restrict access?
8 $conf['superuser'] = 'testuser'; //password: testpass
10 $conf['dnslookups'] = 0; //speedup tests
11 $conf['updatecheck'] = 0; //speedup tests
13 $conf['plugin']['testing']['second'] = 'Local setting';
/dokuwiki/_test/tests/Remote/
H A DApiTest.php26 global $conf;
46 $conf['remote'] = 1;
47 $conf['remoteuser'] = '!!not set!!';
48 $conf['useacl'] = 0;
128 global $conf;
129 $conf['remoteuser'] = '';
137 global $conf;
138 $conf['useacl'] = 1;
146 global $conf;
147 $conf['useacl'] = 1;
[all …]
/dokuwiki/lib/plugins/safefnrecode/
H A Daction.php29 global $conf;
30 if ($conf['fnencode'] != 'safe') return;
32 if (!file_exists($conf['datadir'] . '_safefn.recoded')) {
33 $this->recode($conf['datadir']);
34 touch($conf['datadir'] . '_safefn.recoded');
37 if (!file_exists($conf['olddir'] . '_safefn.recoded')) {
38 $this->recode($conf['olddir']);
39 touch($conf['olddir'] . '_safefn.recoded');
42 if (!file_exists($conf['metadir'] . '_safefn.recoded')) {
43 $this->recode($conf['metadir']);
[all …]
/dokuwiki/lib/tpl/dokuwiki/
H A Dtpl_header.php34 '<span>' . $conf['title'] . '</span>',
38 <?php if ($conf['tagline']) : ?>
39 <p class="claim"><?php echo $conf['tagline']; ?></p>
45 <?php if ($conf['useacl']) : ?>
76 <?php if ($conf['breadcrumbs'] || $conf['youarehere']) : ?>
78 <?php if ($conf['youarehere']) : ?>
81 <?php if ($conf['breadcrumbs']) : ?>
/dokuwiki/inc/
H A Dinit.php75 global $conf;
76 $conf = []; variable
124 if ($conf['canonical']) {
139 define('DOKU_COOKIE', 'DW' . md5(DOKU_REL . (($conf['securecookie']) ? $serverPort : '')));
151 define('DOKU_TPL', DOKU_BASE . 'lib/tpl/' . $conf['template'] . '/');
159 define('DOKU_TPLINC', DOKU_INC . 'lib/tpl/' . $conf['template'] . '/');
173 $conf['gzip_output'] &= (strpos($httpAcceptEncoding, 'gzip') !== false);
176 $conf['gzip_output'] &&
191 $cookieDir = empty($conf['cookiedir']) ? DOKU_REL : $conf['cookiedir'];
221 if ($conf['compression'] == 'bz2' && !DOKU_HAS_BZIP) {
[all …]
/dokuwiki/_test/tests/conf/
H A DCascadeNormalTest.php3 namespace dokuwiki\test\conf;
19 global $conf;
21 $this->assertEquals('start', $conf['start'], 'default value');
22 $this->assertEquals('', $conf['tagline'], 'default value');
24 … $this->assertFalse(isset($conf['plugin']['testing']['schnibble']), 'not set before plugin call');
32 global $conf;
34 …$this->assertEquals('My Test Wiki', $conf['title'], 'overriden in local.php (values from Config ma…
/dokuwiki/lib/exe/
H A Djs.php38 global $conf;
45 if (!$tpl) $tpl = $conf['template'];
50 DOKU_INC . 'inc/lang/' . $conf['lang'] . '/jquery.ui.datepicker.js',
105 'path' => empty($conf['cookiedir']) ? DOKU_REL : $conf['cookiedir'],
106 'secure' => $conf['securecookie'] && \dokuwiki\Ip::isSsl(),
131 $debugjs = ($conf['allowdebug'] && strpos($file, DOKU_INC . 'lib/scripts/') !== 0);
143 if ($conf['locktime'] != 0) {
144 … js_runonstart("dw_locktimer.init(" . ($conf['locktime'] - 60) . "," . $conf['usedraft'] . ")");
157 if ($conf['compress']) {
239 global $conf, $config_cascade;
[all …]
/dokuwiki/
H A D.gitignore15 /conf/*
16 !/conf/.htaccess
17 !/conf/*.dist
18 !/conf/acronyms.conf
19 !/conf/dokuwiki.php
20 !/conf/entities.conf
21 !/conf/interwiki.conf
22 !/conf/license.php
23 !/conf/manifest.json
24 !/conf/mediameta.php
[all …]
/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/authpdo/_test/
H A Dsqlite.test.php44 global $conf;
46 $conf['plugin']['authpdo']['debug'] = 1;
47 $conf['plugin']['authpdo']['dsn'] = 'sqlite:' . $this->dbfile;
48 $conf['plugin']['authpdo']['user'] = '';
49 $conf['plugin']['authpdo']['pass'] = '';
51 …$conf['plugin']['authpdo']['select-user'] = 'SELECT id AS uid, login AS user, name, pass AS clear,…
52 …$conf['plugin']['authpdo']['select-user-groups'] = 'SELECT * FROM member AS m, "group" AS g WHERE…
53 $conf['plugin']['authpdo']['select-groups'] = 'SELECT id AS gid, "group" FROM "group"';
55 …$conf['plugin']['authpdo']['insert-user'] = 'INSERT INTO user (login, pass, name, mail) VALUES (:u…
56 $conf['plugin']['authpdo']['delete-user'] = 'DELETE FROM user WHERE id = :uid';
[all …]
/dokuwiki/inc/Extension/
H A DPluginTrait.php15 protected $conf = []; // array to hold plugin settings, best accessed via ->getConf() variable
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[$setting])) {
193 return $this->conf[$setting];
204 global $conf;
210 if (isset($conf['plugin'][$plugin][$key])) continue;
211 $conf['plugin'][$plugin][$key] = $value;
[all …]
/dokuwiki/inc/Feed/
H A DFeedCreatorOptions.php63 global $conf;
69 $conf['rss_type']
76 $conf['rss_linkto']
81 $conf['rss_content']
84 $this->options['items'] = max(0, $INPUT->int('num', $conf['recent']));
86 $this->options['show_deleted'] = $conf['rss_show_deleted'];
87 $this->options['show_summary'] = $conf['rss_show_summary'];
98 $conf['rss_media']
100 $this->options['guardmail'] = $conf['mailguard'];
101 $this->options['title'] = $conf['title'];
[all …]

12345678