mirror of
				https://git.tt-rss.org/fox/tt-rss.git
				synced 2025-10-31 03:40:59 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			256 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			256 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| class Handler_Administrative extends Handler_Protected {
 | |
|    function before($method) {
 | |
|       if (parent::before($method)) {
 | |
|          if (($_SESSION["access_level"] ?? 0) >= 10) {
 | |
|             return true;
 | |
|          }
 | |
|       }
 | |
|       return false;
 | |
|    }
 | |
| }
 |