uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
whatsapp-crm
/
app
/
Helpers
/
WebhookHelper.php
/
/
<?php namespace App\Helpers; use App\Models\Addon; use App\Models\Setting; class WebhookHelper { public static function triggerWebhookEvent($event, $data, $organizationId = NULL) { $organizationId = $organizationId = NULL ? session()->get('current_organization') : $organizationId; $webhookAddon = Addon::where('name', 'Webhooks')->first(); $webhookSetting = Setting::where('key', 'webhook')->first(); $webhookModule = $webhookAddon && $webhookAddon->status && $webhookSetting && $webhookSetting->value == 1; if($webhookModule){ // Check if MainController exists if (class_exists(\Modules\Webhook\Controllers\MainController::class)) { $webhookController = new \Modules\Webhook\Controllers\MainController(); return $webhookController->trigger($event, $organizationId, $data); } // Handle the case where the class doesn't exist return response()->json(['error' => 'Webhook controller not found'], 404); } } }
/home/users/unlimited/www/whatsapp-crm/app/Helpers/WebhookHelper.php