diff options
author | Johan "Papa" Cwiklinski <trasher@odysseus.(none)> | 2010-05-29 20:57:24 +0200 |
---|---|---|
committer | Johan "Papa" Cwiklinski <trasher@odysseus.(none)> | 2010-05-29 20:57:24 +0200 |
commit | 5fdb1c3cf92ffd73a01ecc82ca91112aa17da350 (patch) | |
tree | 7a4298d993cc56c4dfadfba83fc2693c64bc0156 /main.inc.php | |
parent | e2a411835dfeb4c18f59cec9a2e483b3ebf394fc (diff) |
Use of smarty to render zoom page. Main template file added, and zoom.php modified to work on it. We would probably rewrite cleaner zoom.php in the future. refs #47
Diffstat (limited to 'main.inc.php')
-rw-r--r-- | main.inc.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main.inc.php b/main.inc.php new file mode 100644 index 0000000..a160604 --- /dev/null +++ b/main.inc.php @@ -0,0 +1,16 @@ +<?php +require 'config.inc.php'; +require '/usr/share/php/Smarty/Smarty.class.php'; + +$smarty = new Smarty(); + +$smarty->template_dir = 'smarty/templates/rpmphp'; +$smarty->compile_dir = 'smarty/templates_c'; +$smarty->cache_dir = 'smarty/cache'; +$smarty->config_dir = 'smarty/configs'; + +$ariane[] = array( + 'url' => './', + 'text' => 'Reports home' +); +?>
\ No newline at end of file |