Use defines for library paths

This commit is contained in:
2011-06-18 23:53:25 +01:00
parent 274bc8f3c9
commit 8fe8f8ba08

View File

@@ -2,12 +2,12 @@
define('HBC_File', 'run-jobs');
require_once '../private/config.php';
require_once '/etc/ripping-cluster/config.php';
require_once(SihnonFramework_Lib . 'SihnonFramework/Main.class.php');
require_once 'Net/Gearman/Client.php';
SihnonFramework_Main::registerAutoloadClasses('SihnonFramework', SihnonFramework_Lib,
'RippingCluster', SihnonFramework_Main::makeAbsolutePath('../source/lib/'));
'RippingCluster', RippingCluster_Lib);
try {
$main = RippingCluster_Main::instance();