diff options
author | neoraider <devnull@localhost> | 2006-01-07 02:30:00 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-01-07 02:30:00 +0100 |
commit | 61f7b4cc39a399a16298453acbe5a8f49ad0513d (patch) | |
tree | 0689466391e396e8e62c883994148f09f60c467b /index.php | |
parent | a89ac4fda6c7cab6cace4078491c29f215213ab2 (diff) | |
download | neon-61f7b4cc39a399a16298453acbe5a8f49ad0513d.tar neon-61f7b4cc39a399a16298453acbe5a8f49ad0513d.zip |
Hmm... die Content-Handler sind jetzt ansatzweise implementiert.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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))); ?> |