コード例 #1
0
ファイル: Standard.php プロジェクト: hettema/Stages
 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;
     }
 }