summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-02-20 09:21:36 +0100
committerIrina Gómez <irinagomez@us.es>2019-02-20 09:21:36 +0100
commit8c88e08bee16651c6b6c10303b7a1f519a4cc7ae (patch)
treea96687db96181496f660ce5d6e973163283870af /admin/WebConsole/gestores
parent178c3f6de9d69798c27e1b42d408e5d47b4b181f (diff)
#802 #888 Console: in management of NetBootAvanzado can use bios and uefi templates.
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r--admin/WebConsole/gestores/gestor_pxe_grub4dos.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/admin/WebConsole/gestores/gestor_pxe_grub4dos.php b/admin/WebConsole/gestores/gestor_pxe_grub4dos.php
index 641297ea..7f2a6efe 100644
--- a/admin/WebConsole/gestores/gestor_pxe_grub4dos.php
+++ b/admin/WebConsole/gestores/gestor_pxe_grub4dos.php
@@ -5,6 +5,11 @@
include_once("../includes/ctrlacc.php");
+// Recogemos los parametros
+$litambito=(isset($_REQUEST["litambito"])) ? $_REQUEST["litambito"] : "";
+$idambito=(isset($_REQUEST["idambito"])) ? $_REQUEST["idambito"] : "";
+$nombreambito=(isset($_REQUEST["nombreambito"])) ? $_REQUEST["nombreambito"]) : "";
+
// Datos para el acceso a mysql
$strcn=explode(";",$cadenaconexion);
$file=tempnam("/tmp",".server.cnf.");
@@ -27,5 +32,5 @@ foreach ($lista as $sublista) {
unlink($file);
}
}
-header("Location: ../principal/boot.php?idambito=". $_GET['idaula'] ."&nombreambito=" . $_GET['nombreambito'] . "&litambito=" . $_GET['litambito']);
+header("Location: ../principal/boot.php?idambito=". $idambito ."&nombreambito=" . $nombreambito . "&litambito=" . $litambito);
exit();