���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhcron/webhook.php
���ѧ٧ѧ�
<?php /** * php cron.php -s site_admin -c cron/webhook * * Run every 20 seconds * * */ $id = ''; if (class_exists('erLhcoreClassInstance')) { $id = \erLhcoreClassInstance::$instanceChat->id; } $fp = fopen("cache/webhook{$id}.lock", "w+"); // Gain the lock if (!flock($fp, LOCK_EX | LOCK_NB)) { echo "Couldn't get the lock! Another process is already running"; fclose($fp); return; } else { chmod("cache/webhook{$id}.lock", 0666); echo "Lock acquired. Starting process!"; } erLhcoreClassChatWebhookContinuous::processEvent(); \LiveHelperChat\mailConv\Webhooks\Continous::processEventMail(); flock($fp, LOCK_UN); // release the lock fclose($fp);
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�