1<?php
2/**
3 * Template Functions
4 *
5 * This file provides template specific custom functions that are
6 * not provided by the DokuWiki core.
7 * It is common practice to start each function with an underscore
8 * to make sure it won't interfere with future core functions.
9 */
10
11// must be run from within DokuWiki
12if (!defined('DOKU_INC')) die();
13
14set_include_path(__DIR__);
15include_once(__DIR__ .'/classes/kiwiki_page_menu.php');
16include_once(__DIR__ .'/classes/kiwiki_go.php');
17include_once(__DIR__ .'/classes/kiwiki_go_bottom.php');
18require_once(__DIR__ .'/classes/kiwiki_functions.php');
19
20$https = isset($_SERVER['HTTPS']) ? "https://" : "http://";
21define( 'KIWIKI_IMAGES_URL', $https . $_SERVER["SERVER_NAME"] . "/lib/tpl/kiwiki/images/");
22define( 'KIWIKI_IMAGES_PATH', __DIR__ . "/images/");
23