2 // Sample to override the default wiki (Theme, Language, DB, ...)
4 // Also simplifies USE_PATH_INFO paths:
5 // "/<home>/wiki/HomePage" instead of "/<home>/wiki/index.php/HomePage"
6 // The simpliest version is
7 // <?php include "index.php"; include "lib/main.php"; ?>
9 // Note: This needs a webserver handler to PHP like this on Apache:
11 // SetHandler application/x-httpd-php
14 // Several VARIABLES or CONSTANTS as default wiki overrides before index.php
15 $LANG='de'; $LC_ALL='de_DE';
16 //$LANG='ja'; $LC_ALL='ja_JP';
17 define('WIKI_NAME', "WikiDemo:$LANG:" . THEME);
18 // define('THEME', 'Portland');
20 // Load the default configuration.
23 // More VARIABLES as default wiki overrides after index.php:
24 // Try another DB than the version in index.php like this:
25 //$DBParams['dbtype'] = 'SQL';
26 //$DBParams['dsn'] = 'mysql://<user>:<pass>@localhost/<username>_wiki';
29 include "lib/main.php";