Converted homepage to use SihnonFramework and updated content

This commit is contained in:
2011-12-30 02:41:53 +00:00
parent e1012e034f
commit 28117760a5
67 changed files with 1829 additions and 1468 deletions

21
public/index.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
define('Homepage_File', 'index');
require '_inc.php';
try {
$main = Homepage_Main::instance();
Homepage_LogEntry::setLocalProgname('webui');
$smarty = $main->smarty();
$page = new Homepage_Page($smarty, $main->request());
if ($page->evaluate()) {
$smarty->display('index.tpl');
}
} catch (Homepage_Exception $e) {
die("Uncaught Exception: " . $e->getMessage());
}
?>