forked from Adleraci/adlerka.top
		
	exit on redirect
This commit is contained in:
		@@ -60,7 +60,12 @@ function initRouter(): bool
 | 
			
		||||
            $routerRequest["type"] = "page";
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    echo $needsRedirect;
 | 
			
		||||
    if ($needsRedirect){
 | 
			
		||||
        echo "yes";
 | 
			
		||||
    }
 | 
			
		||||
    else{
 | 
			
		||||
        echo "no";
 | 
			
		||||
    }
 | 
			
		||||
    return !$needsRedirect;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user