From 35a327001b69e82597392c8c418adeaeb975d285 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Tue, 21 May 2024 10:19:19 +0700 Subject: [PATCH] can change url download --- update.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.php b/update.php index fa60c5d3..7ac7c105 100644 --- a/update.php +++ b/update.php @@ -12,6 +12,9 @@ if (empty($update_url)) { $update_url = 'https://github.com/hotspotbilling/phpnuxbill/archive/refs/heads/master.zip'; } +if(isset($_REQUEST['update_url']) && !empty($_REQUEST['update_url'])){ + $update_url = $_REQUEST['update_url']; +} if (!isset($_SESSION['aid']) || empty($_SESSION['aid'])) { r2("./?_route=login&You_are_not_admin", 'e', 'You are not admin');