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:
14
index.php
Normal file
14
index.php
Normal 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');
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user