This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
msalek56641
hello, All in Subject, any idea is welcome.
if($settings->notifications['live'] == 1){
$options = array(
'cluster' => $settings->notifications['pusher']['cluster'],
'useTLS' => true
);
$pusher = new \Pusher\Pusher(
$settings->notifications['pusher']['key'],
$settings->notifications['pusher']['secret'],
$settings->notifications['pusher']['app_id'],
$options
);
$controller->vars['pusher'] = $pusher;
1-2 of 2