summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/ipxe/views/scripts/resource/getvesamenu.phtml')
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
index 75b2a4f..cd00ff5 100644
--- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
+++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
@@ -79,7 +79,7 @@
PROMPT 0
DEFAULT /ipxe/vesamenu.c32
-<?php if($this->ssl)
+<?php if($this->httpmode === 'https')
echo "MENU BACKGROUND /ipxe/pbs2ssl.png\n";
else
echo "MENU BACKGROUND /ipxe/pbs2.png\n";?>
@@ -159,10 +159,10 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none
if($bme->getKcl() && $kcl != null){
uriboot ( $bme->getTitle(),
- "http://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=http://$this->host/ipxe/resource/getinitramfs/alpha/$this->alphaID/bme/".$bme->getID()."/file/initramfs $kcl alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend());
+ "$this->httpmode://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=$this->httpmode://$this->host/ipxe/resource/getinitramfs/alpha/$this->alphaID/bme/".$bme->getID()."/file/initramfs $kcl alpha=$this->alphaID file=$this->httpmode://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend());
}else{
uriboot ( $bme->getTitle(),
- "http://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=http://$this->host/ipxe/resource/getinitramfs/alpha/$this->alphaID/bme/".$bme->getID()."/file/initramfs alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend());
+ "$this->httpmode://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=$this->httpmode://$this->host/ipxe/resource/getinitramfs/alpha/$this->alphaID/bme/".$bme->getID()."/file/initramfs alpha=$this->alphaID file=$this->httpmode://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend());
}
}
}else{