Use defines for library paths
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
define('HBC_File', 'run-jobs');
|
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(SihnonFramework_Lib . 'SihnonFramework/Main.class.php');
|
||||||
require_once 'Net/Gearman/Client.php';
|
require_once 'Net/Gearman/Client.php';
|
||||||
|
|
||||||
SihnonFramework_Main::registerAutoloadClasses('SihnonFramework', SihnonFramework_Lib,
|
SihnonFramework_Main::registerAutoloadClasses('SihnonFramework', SihnonFramework_Lib,
|
||||||
'RippingCluster', SihnonFramework_Main::makeAbsolutePath('../source/lib/'));
|
'RippingCluster', RippingCluster_Lib);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$main = RippingCluster_Main::instance();
|
$main = RippingCluster_Main::instance();
|
||||||
|
|||||||
Reference in New Issue
Block a user