19 lines
396 B
PHP
19 lines
396 B
PHP
<?php
|
|
|
|
define('HBC_File', 'worker');
|
|
|
|
require_once '../config.php';
|
|
require_once HandBrakeCluster_Lib . 'HandBrakeCluster/Main.class.php';
|
|
|
|
try {
|
|
$main = HandBrakeCluster_Main::instance();
|
|
$smarty = $main->smarty();
|
|
|
|
$worker = new HandBrakeCluster_Worker();
|
|
$worker->start();
|
|
|
|
} catch (HandBrakeCluster_Exception $e) {
|
|
die("Uncaught Exception: " . $e->getMessage());
|
|
}
|
|
|
|
?>
|