mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 08:32:14 +00:00
broadcast new files to the frontend after file was remotely uploaded
This commit is contained in:
@@ -38,6 +38,16 @@ if (! function_exists('getListOfLatestLogs')) {
|
||||
}
|
||||
}
|
||||
|
||||
if (! function_exists('isBroadcasting')) {
|
||||
/**
|
||||
* Check if cron is running
|
||||
*/
|
||||
function isBroadcasting(): bool
|
||||
{
|
||||
return config('broadcasting.default') === 'pusher';
|
||||
}
|
||||
}
|
||||
|
||||
if (! function_exists('isRunningCron')) {
|
||||
/**
|
||||
* Check if cron is running
|
||||
|
||||
Reference in New Issue
Block a user