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

16
public/_inc.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
if (isset($_SERVER['HOMEPAGE_CONFIG']) &&
file_exists($_SERVER['HOMEPAGE_CONFIG']) &&
is_readable($_SERVER['HOMEPAGE_CONFIG'])) {
require_once($_SERVER['HOMEPAGE_CONFIG']);
} else {
require_once '/etc/homepage/config.php';
}
require_once SihnonFramework_Lib . 'SihnonFramework/Main.class.php';
SihnonFramework_Main::registerAutoloadClasses('SihnonFramework', SihnonFramework_Lib,
'Homepage', Homepage_Lib);
?>