Panel/modules/update/update.php
copilot-swe-agent[bot] 815f2b0b0c Phase 5: Final validation and remaining reference updates
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-09-08 16:08:38 +00:00

20 lines
555 B
PHP

<?php
/*
* Component of the update module
*/
// todo, make checking and updating functions for updateing on the background.
// todo, more specified updates in smaller packages
function exec_gsp_module()
{
global $db, $settings;
define('REPONAME', 'GSP-Website');
if ($_SESSION['users_group'] != "admin")
{
print_failure(get_lang('no_access'));
return;
}
echo "To update the panel, visit our git at http://git.iaregamer.com:3000, download the panel and replace your files.";
}