small updates

This commit is contained in:
genuineparts 2025-06-02 13:24:40 +02:00
parent 43ad32700c
commit 99a9ed919e
2 changed files with 8 additions and 8 deletions

View file

@ -6,7 +6,7 @@ require_once 'core/init_core.inc.php';
$plugin->run_hook('register_begin');
$session->page_begin('Register', FALSE);
if($session->userdata['uid']!=0){
header('Location:http://'.$config['domain'].'/'.$config['path'].'usercp.php');
header('Location:https://'.$config['domain'].'/'.$config['path'].'usercp.php');
}
if($config['registring']==0){
$core->message('Accouterstellung abgeschaltet','Zur Zeit wurde die Accounterstellung deaktiviert.',TRUE,$config['path'].'/index.php',5);