From c5b96df43fb7912b267bf56cfefb2de3e138d280 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Thu, 21 Sep 2023 12:09:03 +0700 Subject: [PATCH] add nux-router --- index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.php b/index.php index d1eac444..cd76b6b8 100644 --- a/index.php +++ b/index.php @@ -11,6 +11,11 @@ if(isset($_GET['nux-mac']) && !empty($_GET['nux-mac'])){ if(isset($_GET['nux-ip']) && !empty($_GET['nux-ip'])){ $_SESSION['nux-ip'] = $_GET['nux-ip']; } + +if(isset($_GET['nux-router']) && !empty($_GET['nux-router'])){ + $_SESSION['nux-router'] = $_GET['nux-router']; +} + require_once 'system/vendor/autoload.php'; require_once 'system/boot.php'; App::_run();