Пример #1
0
 protected function _checkShouldBeSecure($request, $path = '')
 {
     //return true;
     if ($this->_shouldBeSecure($path) && !App_Main::isCurrentlySecure()) {
         $url = $this->_getCurrentSecureUrl($request);
         App_Main::getResponse()->setRedirect($url)->sendResponse();
         exit;
     }
 }