Basic placeholder webui

Adds the bare minimum files to have a functional web interface with
placeholder sidebar, home and admin pages.
This commit is contained in:
2011-12-16 02:17:32 +00:00
parent 5e04f99429
commit 35119be9a0
15 changed files with 340 additions and 0 deletions

16
public/_inc.php Normal file
View File

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