Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/includes/Rest/BasicAccess/StaticBasicAuthorizer.php
Ðазад
<?php namespace MediaWiki\Rest\BasicAccess; use MediaWiki\Rest\Handler; use MediaWiki\Rest\RequestInterface; /** * An authorizer which returns a value from authorize() which is given in the constructor. * * @internal */ class StaticBasicAuthorizer implements BasicAuthorizerInterface { /** @var string|null */ private $value; /** * @see BasicAuthorizerInterface::authorize() * * @param string|null $value The value returned by authorize(). If the * request is denied, this is the string error code. If the request is * allowed, it is null. */ public function __construct( $value = null ) { $this->value = $value; } public function authorize( RequestInterface $request, Handler $handler ) { return $this->value; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка