summaryrefslogtreecommitdiff
path: root/utils/config.php
blob: 8bdbd1555dfd30ecee5f0f6f00a0f5c87764f395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/* -*- Mode: php; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */

function config($var)
{
	global $TITLE, $PRELOAD, $DEFAULT_PAGE, $MENU;
	switch($var) {
	case 'title':
		return $TITLE;
	case 'preload':
		return $PRELOAD;
	case 'default':
		return $DEFAULT_PAGE;
	case 'menu':
		return $MENU;
	default:
		return $var;
	}
}

?>