diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..b6a0a66 --- /dev/null +++ b/index.php @@ -0,0 +1,17 @@ +<?PHP + include('config/config.inc.php'); + + include('code/message.inc.php'); + include('code/subst.inc.php'); + + header('Content-type: text/html;charset=UTF-8'); + + // provisional + $template = 'default'; + $title = $config['title']; + $style = $config['default_style']; + + $template_data = join('', file('templates/' . $template)); + + echo Subst($template_data, array('title' => $title, 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => 'Inhalt')); +?> |