2 // Sample to override the default wiki (theme, language, db, ...)
3 // Also simplifies USE_PATH_INFO paths:
4 // "/<my>/wiki/HomePage" instead of "/<mywiki>/index.php/HomePage"
5 // The simpliest version is
6 // include "index.php"; include "lib/main.php";
9 define('THEME', 'Portland');
11 // CONSTANTS as default wiki overrides before index.php
12 //define('WIKI_NAME', "WikiDemo:$LANG:" . THEME);
14 // Load the default configuration.
17 // VARIABLES as default wiki overrides after index.php:
18 putenv("LC_TIME=$LANG");
20 $DBParams['dbtype'] = 'SQL';
21 $DBParams['dsn'] = 'mysql://<user>:<pass>@localhost/<username>_wiki';
24 include "lib/main.php";