���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhxml/cannedresponses.php
���ѧ٧ѧ�
<?php header('Content-type: application/json'); $options = erLhcoreClassModelChatConfig::fetch('mobile_options')->data; if (!isset($options['notifications']) || !$options['notifications']) { exit; } $currentUser = erLhcoreClassUser::instance(); if (!$currentUser->isLogged() && !$currentUser->authenticate($_POST['username'],$_POST['password'])) { exit; } $chat = erLhcoreClassModelChat::fetch($Params['user_parameters']['chat_id']); if ( erLhcoreClassChat::hasAccessToRead($chat) ) { $cannedmsg = erLhcoreClassModelCannedMsg::getCannedMessages($chat->dep_id,$currentUser->getUserID()); echo json_encode(array('error' => false, 'canned_messages' => array_values($cannedmsg))); flush(); session_write_close(); if ( function_exists('fastcgi_finish_request') ) { fastcgi_finish_request(); }; } else { echo json_encode(array('error' => true, 'error_string' => 'You do not have permission to read this chat!')); } exit; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�