���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhsystem/singlesetting.php
���ѧ٧ѧ�
<?php $tpl = erLhcoreClassTemplate::getInstance('lhsystem/singlesetting.tpl.php'); $Params['user_parameters']['identifier'] = strip_tags($Params['user_parameters']['identifier']); $config = erLhcoreClassModelChatConfig::fetch($Params['user_parameters']['identifier']); if ($config->identifier == $Params['user_parameters']['identifier']) { if (ezcInputForm::hasPostData() && $currentUser->hasAccessTo('lhchat','administrateconfig')) { if (!isset($_POST['csfr_token']) || !$currentUser->validateCSFRToken($_POST['csfr_token'])) { erLhcoreClassModule::redirect(); exit; } $config->value = isset($_POST[$config->identifier.'ValueParam']) ? $_POST[$config->identifier.'ValueParam'] : 0; $config->saveThis(); // Cleanup cache to recompile templates etc. $CacheManager = erConfigClassLhCacheConfig::getInstance(); $CacheManager->expireCache(); $tpl->set('updated', true); } $tpl->set('action_url', erLhcoreClassDesign::baseurl('system/singlesetting') . '/' . $Params['user_parameters']['identifier']); $tpl->set('attribute', $Params['user_parameters']['identifier']); $tpl->set('boolValue', true); } echo $tpl->fetch(); exit; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�