mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-23 23:17:05 +08:00
can change url download
This commit is contained in:
parent
6d8e64a1da
commit
35a327001b
1 changed files with 3 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue