Separated class library and web interface code Added a common config/database config to be referenced by all subprojects Fixed previous commit
21 lines
391 B
PHP
21 lines
391 B
PHP
<?php
|
|
|
|
define('HBCFile', 'index');
|
|
|
|
require '_inc.php';
|
|
|
|
try {
|
|
$main = HandBrakeCluster_Main::instance();
|
|
$smarty = $main->smarty();
|
|
|
|
$page = new HandBrakeCluster_Page($smarty, $main->request());
|
|
if ($page->evaluate()) {
|
|
$smarty->display('index.tpl');
|
|
}
|
|
|
|
} catch (HandBrakeCluster_Exception $e) {
|
|
die("Uncaught Exception: " . $e->getMessage());
|
|
}
|
|
|
|
?>
|