summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-01-07 02:30:00 +0100
committerneoraider <devnull@localhost>2006-01-07 02:30:00 +0100
commit61f7b4cc39a399a16298453acbe5a8f49ad0513d (patch)
tree0689466391e396e8e62c883994148f09f60c467b /index.php
parenta89ac4fda6c7cab6cace4078491c29f215213ab2 (diff)
downloadneon-61f7b4cc39a399a16298453acbe5a8f49ad0513d.tar
neon-61f7b4cc39a399a16298453acbe5a8f49ad0513d.zip
Hmm... die Content-Handler sind jetzt ansatzweise implementiert.
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.php b/index.php
index b6a0a66..1167f1a 100644
--- a/index.php
+++ b/index.php
@@ -2,7 +2,8 @@
include('config/config.inc.php');
include('code/message.inc.php');
- include('code/subst.inc.php');
+ include('code/util.inc.php');
+ include('code/content.inc.php');
header('Content-type: text/html;charset=UTF-8');
@@ -10,8 +11,9 @@
$template = 'default';
$title = $config['title'];
$style = $config['default_style'];
+ $page = $config['home'];
$template_data = join('', file('templates/' . $template));
- echo Subst($template_data, array('title' => $title, 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => 'Inhalt'));
+ echo Subst($template_data, array('title' => $title, 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => GetPage($page)));
?>