File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/landing/lib/restriction/rights.php
Back
<?php namespace Bitrix\Landing\Restriction; use \Bitrix\Bitrix24\Feature; use \Bitrix\Landing\Manager; class Rights { /** * Checks restriction. * @return bool */ public static function isAllowed(): bool { if (\Bitrix\Landing\Site\Type::getCurrentScopeId() === 'GROUP') { return true; } if (Manager::getOption('permissions_available', 'N') == 'Y') { return true; } if (\Bitrix\Main\Loader::includeModule('bitrix24')) { return Feature::isFeatureEnabled('landing_permissions_available'); } return true; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings