标签: php zend-framework zend-framework2
ZF2中是否有方法返回请求是否来自HTTPS?
赞$this->getRequest()->isHTTPS()
$this->getRequest()->isHTTPS()
答案 0 :(得分:2)
支票是:
$this->getRequest()->isSecure()