File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/forum/lib/controller/topic.php
Back
<?php namespace Bitrix\Forum\Controller; use Bitrix\Main; use Bitrix\Forum; class Topic extends Main\Engine\Controller { public function headAction($topicId) { if (($topic = Forum\Topic::getById($topicId)) !== null) { global $USER; $user = Forum\User::getById($USER->GetID()); if ($user->canReadTopic($topic)) { return $topic->getData(); } } return null; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.49 |
proxy
|
phpinfo
|
Settings