PMC-1101 unPaused>Cron> When unpaused a case using cron, it displays a JOBS PENDING error
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
parent
a4df09cd43
commit
b6efa32ec4
@@ -224,6 +224,18 @@ try {
|
||||
|
||||
Propel::init(PATH_CORE . 'config' . PATH_SEP . '_databases_.php');
|
||||
|
||||
/**
|
||||
* Load Laravel database connection
|
||||
*/
|
||||
$dbHost = explode(':', $DB_HOST);
|
||||
config(['database.connections.workflow.host' => $dbHost[0]]);
|
||||
config(['database.connections.workflow.database' => $DB_NAME]);
|
||||
config(['database.connections.workflow.username' => $DB_USER]);
|
||||
config(['database.connections.workflow.password' => $DB_PASS]);
|
||||
if (count($dbHost) > 1) {
|
||||
config(['database.connections.workflow.port' => $dbHost[1]]);
|
||||
}
|
||||
|
||||
//Enable RBAC
|
||||
$rbac = RBAC::getSingleton(PATH_DATA, session_id());
|
||||
$rbac->sSystem = 'PROCESSMAKER';
|
||||
|
||||
Reference in New Issue
Block a user