mirror of
				https://github.com/Mibew/java.git
				synced 2025-10-31 18:41:09 +03:00 
			
		
		
		
	git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@536 c66351dc-e62f-0410-b875-e3a5c0b9693f
		
			
				
	
	
		
			10 lines
		
	
	
		
			267 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			267 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 	//Start session
 | |
| 	session_start();
 | |
| 	
 | |
| 	//Check whether the session variable SESS_MEMBER_ID is present or not
 | |
| 	if(!isset($_SESSION['SESS_MEMBER_ID']) || (trim($_SESSION['SESS_MEMBER_ID']) == '')) {
 | |
| 		header("location: access-denied.php");
 | |
| 		exit();
 | |
| 	}
 | |
| ?>
 |