check_oracle_health: update to 1.9.3.5
[omd.git] / packages / dokuwiki / preload.php
blobc15ddd2c588c69c7a46fcd4e455844d4d39c7c72
1 <?php
3 if(substr($_SERVER["SCRIPT_FILENAME"], 0, 4) == '/omd') {
4 $site_parts = array_slice(explode('/' ,dirname($_SERVER["SCRIPT_FILENAME"])), 0, 4);
5 $site = $site_parts[count($site_parts)-1];
6 define('DOKU_CONF', '/omd/sites/'.$site.'/etc/dokuwiki/');
7 unset($site_parts);
8 unset($site);
9 } else {
10 $site=getenv('OMD_SITE');
11 define('DOKU_CONF', '/omd/sites/'.$site.'/etc/dokuwiki/');
12 define('DOKU_INC', '/omd/sites/'.$site.'/var/dokuwiki/data/');
13 unset($site);
16 $config_cascade = array(
17 'main' => array(
18 'default' => array(DOKU_CONF.'dokuwiki.php'),
19 'local' => array(DOKU_CONF.'local.php', DOKU_CONF.'cookie_auth.php'),
20 'protected' => array(DOKU_CONF.'local.protected.php'),
22 'acronyms' => array(
23 'default' => array(DOKU_CONF.'acronyms.conf'),
24 'local' => array(DOKU_CONF.'acronyms.local.conf'),
26 'entities' => array(
27 'default' => array(DOKU_CONF.'entities.conf'),
28 'local' => array(DOKU_CONF.'entities.local.conf'),
30 'interwiki' => array(
31 'default' => array(DOKU_CONF.'interwiki.conf'),
32 'local' => array(DOKU_CONF.'interwiki.local.conf'),
34 'license' => array(
35 'default' => array(DOKU_CONF.'license.php'),
36 'local' => array(DOKU_CONF.'license.local.php'),
38 'mediameta' => array(
39 'default' => array(DOKU_CONF.'mediameta.php'),
40 'local' => array(DOKU_CONF.'mediameta.local.php'),
42 'mime' => array(
43 'default' => array(DOKU_CONF.'mime.conf'),
44 'local' => array(DOKU_CONF.'mime.local.conf'),
46 'scheme' => array(
47 'default' => array(DOKU_CONF.'scheme.conf'),
48 'local' => array(DOKU_CONF.'scheme.local.conf'),
50 'smileys' => array(
51 'default' => array(DOKU_CONF.'smileys.conf'),
52 'local' => array(DOKU_CONF.'smileys.local.conf'),
54 'wordblock' => array(
55 'default' => array(DOKU_CONF.'wordblock.conf'),
56 'local' => array(DOKU_CONF.'wordblock.local.conf'),
58 'acl' => array(
59 'default' => DOKU_CONF.'acl.auth.php',
61 'plainauth.users' => array(
62 'default' => DOKU_CONF.'users.auth.php',
64 'plugins' => array( // needed since Angua
65 'default' => array(DOKU_CONF.'plugins.php'),
66 'local' => array(DOKU_CONF.'plugins.local.php'),
67 'protected' => array(
68 DOKU_CONF.'plugins.required.php',
69 DOKU_CONF.'plugins.protected.php',
72 'userstyle' => array(
73 'screen' => DOKU_CONF.'userstyle.css',
74 'print' => DOKU_CONF.'userprint.css',
75 'feed' => DOKU_CONF.'userfeed.css',
76 'all' => DOKU_CONF.'userall.css',
78 'userscript' => array(
79 'default' => DOKU_CONF.'userscript.js'