diff options
Diffstat (limited to 'application/modules/ipxe/controllers/ResourceController.php')
-rw-r--r-- | application/modules/ipxe/controllers/ResourceController.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index e4a5d5b..3c1ce3a 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -61,6 +61,14 @@ class Ipxe_ResourceController extends Zend_Controller_Action { $vesamenuView->host = $_SERVER['HTTP_HOST']; $vesamenuView->error = $this->_request->getParam('error'); + if(isset($_SERVER['HTTPS'])) + { + if ($_SERVER['HTTPS'] == 'on') + $vesamenuView->ssl = true; + else + $vesamenuView->ssl = false; + } + if (isset($this->session)) { $vesamenuView->alphaID = $this->session->getAlphasessionID(); |