can change url download

This commit is contained in:
Ibnu Maksum 2024-05-21 10:19:19 +07:00
parent 6d8e64a1da
commit 35a327001b
No known key found for this signature in database
GPG key ID: 7FC82848810579E5

View file

@ -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');