| /dokuwiki/lib/plugins/config/_test/data/ |
| H A D | config.php | 4 $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 D | default.php | 3 $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/authad/conf/ |
| H A D | default.php | 3 $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 D | common_wl.test.php | 6 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 D | parserutils_get_renderer.test.php | 9 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 D | pageutils_getid.test.php | 9 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 D | common_ml.test.php | 8 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 …]
|
| H A D | init_getbaseurl.test.php | 11 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 D | common_obfuscate.test.php | 6 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';
|
| /dokuwiki/lib/plugins/config/_test/ |
| H A D | ConfigParserTest.php | 17 $conf = $parser->parse(__DIR__ . '/data/config.php'); 19 // var_dump($conf); 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']); [all …]
|
| H A D | LoaderExtraDefaultsTest.php | 27 $out .= "\$conf['title'] = 'New default Title';\n"; 28 $out .= "\$conf['tagline'] = 'New default Tagline';\n"; 29 $out .= "\$conf['plugin']['testing']['schnibble'] = 1;\n"; 30 $out .= "\$conf['plugin']['testing']['second'] = 'New default setting';\n"; 51 $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); [all …]
|
| /dokuwiki/conf/ |
| H A D | dokuwiki.php | 16 $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/ |
| H A D | .gitignore | 15 /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/lib/plugins/config/_test/Setting/ |
| H A D | SettingOnoffTest.php | 16 [1, "\$conf['test'] = 1;\n"], 17 [0, "\$conf['test'] = 0;\n"], 19 ['1', "\$conf['test'] = 1;\n"], 20 ['0', "\$conf['test'] = 0;\n"], 22 ['on', "\$conf['test'] = 1;\n"], 23 ['off', "\$conf['test'] = 0;\n"], 25 ['true', "\$conf['test'] = 1;\n"], 26 ['false', "\$conf['test'] = 0;\n"], 28 ['On', "\$conf['test'] = 1;\n"], 29 ['Off', "\$conf['test'] = 0;\n"], [all …]
|
| H A D | SettingNumericTest.php | 16 [42, "\$conf['test'] = 42;\n"], 17 [0, "\$conf['test'] = 0;\n"], 18 [-42, "\$conf['test'] = -42;\n"], 19 [-42.13, "\$conf['test'] = -42.13;\n"], 20 ['12*13', "\$conf['test'] = 12*13;\n"],
|
| /dokuwiki/_test/tests/Remote/ |
| H A D | ApiTest.php | 26 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/_test/conf/ |
| H A D | local.php | 3 $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/lib/plugins/authpdo/conf/ |
| H A D | default.php | 9 $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/inc/ |
| H A D | farm.php | 40 * If no configuration file is found, return the default confdir './conf'. 69 return $farm . '/' . $animal . '/conf/'; 78 if (is_dir("$farm/$dir/conf/")) { 80 return "$farm/$dir/conf/"; 85 // default conf directory in farm 86 if (is_dir("$farm/default/conf/")) { 88 return "$farm/default/conf/"; 91 return DOKU_INC . 'conf/'; 97 'default' => [DOKU_INC . 'conf/dokuwiki.php'], 102 'default' => [DOKU_INC . 'conf/acronyms.conf'], [all …]
|
| H A D | config_cascade.php | 18 'default' => [DOKU_CONF . 'acronyms.conf'], 19 'local' => [DOKU_CONF . 'acronyms.local.conf'] 22 'default' => [DOKU_CONF . 'entities.conf'], 23 'local' => [DOKU_CONF . 'entities.local.conf'] 26 'default' => [DOKU_CONF . 'interwiki.conf'], 27 'local' => [DOKU_CONF . 'interwiki.local.conf'] 42 'default' => [DOKU_CONF . 'mime.conf'], 43 'local' => [DOKU_CONF . 'mime.local.conf'] 46 'default' => [DOKU_CONF . 'scheme.conf'], 47 'local' => [DOKU_CONF . 'scheme.local.conf'] [all …]
|
| /dokuwiki/lib/plugins/safefnrecode/ |
| H A D | action.php | 29 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/_test/tests/conf/ |
| H A D | CascadeProtectedTest.php | 3 namespace dokuwiki\test\conf; 18 $out .= "\$conf['title'] = 'Protected Title';\n"; 19 $out .= "\$conf['tagline'] = 'Protected Tagline';\n"; 20 $out .= "\$conf['plugin']['testing']['schnibble'] = 1;\n"; 21 $out .= "\$conf['plugin']['testing']['second'] = 'Protected setting';\n"; 30 global $conf; 32 … $this->assertEquals('Protected Title', $conf['title'], 'protected local value, overrides local'); 33 …$this->assertEquals('Protected Tagline', $conf['tagline'], 'protected local value, override defaul…
|
| H A D | CascadeNormalTest.php | 3 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/_test/ |
| H A D | mysql.conf.php.dist | 6 $conf['host'] = '127.0.0.1'; 7 $conf['port'] = 3306; 8 $conf['user'] = 'root'; 9 $conf['pass'] = '';
|
| H A D | pgsql.conf.php.dist | 6 $conf['host'] = '127.0.0.1'; 7 $conf['port'] = 5432; 8 $conf['user'] = 'postgres'; 9 $conf['pass'] = 'postgres';
|