Initial commit of HandBrakeCluster PHP framework

Replaced dodgy placeholder with a set of PHP classes for displaying a
HandBrake webui.
Current code uses Smarty as a templating engine, and includes an ugly
but functional set of pages.
The HandBrake classes are at present only placeholders, and offer no
real functionality.
Working class autoloader for the HandBrakeCluster_ hierarchy.
This commit is contained in:
2010-03-17 02:29:12 +00:00
parent 5b09ef44aa
commit 8db695166e
24 changed files with 469 additions and 86 deletions

14
index.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
require 'HandBrakeCluster/Main.class.php';
$main = HandBrakeCluster_Main::instance();
$smarty = $main->smarty();
$page = new HandBrakeCluster_Page($smarty, $main->request());
$page->evaluate();
$smarty->assign('page_content', $smarty->fetch($page->template_filename()));
$smarty->display('index.tpl');
?>