forked from Adleraci/adlerka.top
		
	fix redir from home to apex
This commit is contained in:
		@@ -38,8 +38,14 @@ function initRouter(): bool
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    if ($needsRedirect) {
 | 
			
		||||
        if(!empty($routerRequest["subdomain"])){
 | 
			
		||||
            $sub_domain = $routerRequest["subdomain"] . ".";
 | 
			
		||||
        }
 | 
			
		||||
        else{
 | 
			
		||||
            $sub_domain = "";
 | 
			
		||||
        }
 | 
			
		||||
        $redirectAddress = $routerConfig["protocol"] .
 | 
			
		||||
            $routerRequest["subdomain"] . "." .
 | 
			
		||||
            $sub_domain .
 | 
			
		||||
            $routerRequest["domain"] . "." .
 | 
			
		||||
            $routerRequest["tld"] . "/" .
 | 
			
		||||
            $routerRequest["page_name"];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user