mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Create updater.php
This commit is contained in:
parent
6aae9339cd
commit
be2f3d5006
1 changed files with 25 additions and 0 deletions
25
install/updater.php
Normal file
25
install/updater.php
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* TorrentPier – Bull-powered BitTorrent tracker engine
|
||||||
|
*
|
||||||
|
* @copyright Copyright (c) 2005-2024 TorrentPier (https://torrentpier.com)
|
||||||
|
* @link https://github.com/torrentpier/torrentpier for the canonical source repository
|
||||||
|
* @license https://github.com/torrentpier/torrentpier/blob/master/LICENSE MIT License
|
||||||
|
*/
|
||||||
|
|
||||||
|
define('BB_SCRIPT', 'updater');
|
||||||
|
|
||||||
|
require __DIR__ . '/common.php';
|
||||||
|
|
||||||
|
// Init userdata
|
||||||
|
$user->session_start(['req_login' => true]);
|
||||||
|
|
||||||
|
set_die_append_msg();
|
||||||
|
if (!IS_SUPER_ADMIN) bb_die($lang['ONLY_FOR_SUPER_ADMIN']);
|
||||||
|
|
||||||
|
$confirm = request_var('confirm', '');
|
||||||
|
if ($confirm) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue