You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			16 lines
		
	
	
		
			408 B
		
	
	
	
		
			PHP
		
	
			
		
		
	
	
			16 lines
		
	
	
		
			408 B
		
	
	
	
		
			PHP
		
	
<?php
 | 
						|
 | 
						|
$config = array(
 | 
						|
  'admin_user' => 'admin',
 | 
						|
  'admin_pass' => '$2y$10$YKIyWAmnQLtiJAy6QgHQ.eCpY4m.HCEbiHaTgN6.acNC6bDElzt.i'
 | 
						|
);
 | 
						|
 | 
						|
if(file_exists(RASPI_CONFIG.'/raspap.auth')) {
 | 
						|
    if ( $auth_details = fopen(RASPI_CONFIG.'/raspap.auth', 'r') ) {
 | 
						|
      $config['admin_user'] = trim(fgets($auth_details));
 | 
						|
      $config['admin_pass'] = trim(fgets($auth_details));
 | 
						|
      fclose($auth_details);
 | 
						|
    }
 | 
						|
}
 | 
						|
?>
 |