mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			143 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			143 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
<?php
 | 
						|
 | 
						|
if (RASPI_AUTH_ENABLED) {
 | 
						|
    $auth = new \RaspAP\Auth\HTTPAuth;
 | 
						|
 | 
						|
    if (!$auth->isLogged()) {
 | 
						|
        $auth->authenticate();
 | 
						|
    }
 | 
						|
}
 | 
						|
 |