<?php // -*-php-*-
// Sample to override the default wiki (Theme, Language, DB, ...)
//
// Also simplifies USE_PATH_INFO paths:
//  "/<home>/wiki/HomePage" instead of "/<home>/wiki/index.php/HomePage"
// The simpliest version is 
//   <?php include "index.php"; include "lib/main.php"; ?>
//
// Note: This needs a webserver handler to PHP like this on Apache:
// <Files "wiki">
//  SetHandler application/x-httpd-php
// </Files> 

// Several VARIABLES or CONSTANTS as default wiki overrides before index.php
define('WIKI_NAME', "WikiDemo:$LANG:" . THEME);
$LANG='de'; $LC_ALL='de_DE';
// define('THEME', 'Portland');

// Load the default configuration.
include "index.php";

// More VARIABLES as default wiki overrides after index.php:
// Try another DB than the version in index.php like this:
//$DBParams['dbtype'] = 'SQL';
//$DBParams['dsn'] = 'mysql://<user>:<pass>@localhost/<username>_wiki';

// Start the wiki
include "lib/main.php";
?>