allow to specify a message with $_GET[msg] when redirecting to configuration

This commit is contained in:
ralf 2024-12-19 20:43:28 +01:00
parent d3ac3d7432
commit e469627ab7

View File

@ -100,6 +100,11 @@ class admin_config
Api\Framework::redirect_link('/index.php'); Api\Framework::redirect_link('/index.php');
} }
if (!empty($_GET['msg']))
{
Api\Framework::message($_GET['msg'], 'info');
}
// load the translations of the app we show too, so they dont need to be in admin! // load the translations of the app we show too, so they dont need to be in admin!
if ($_appname != 'admin') if ($_appname != 'admin')
{ {