A
Size: a a a
A
V
ДК
ПГ
V
V
V
С
T
V
V
РW
С
V
URL::forceRootUrl((Utils::isHttps() ? 'https' : 'http').'://'.Request::server('HTTP_HOST'));
URL::forceScheme(Utils::isHttps() ? 'https' : 'http');
Э
V
URL::forceRootUrl((Utils::isHttps() ? 'https' : 'http').'://'.Request::server('HTTP_HOST'));
URL::forceScheme(Utils::isHttps() ? 'https' : 'http');
use Illuminate\Support\Facades\URL;
ПГ
V
URL::forceRootUrl((Utils::isHttps() ? 'https' : 'http').'://'.Request::server('HTTP_HOST'));
URL::forceScheme(Utils::isHttps() ? 'https' : 'http');
public function isHttps()
{
return $this->request->secure() ? true : ($this->request->server('HTTP_X_FORWARDED_PROTO') === 'https');
}
ПГ
РW