SDF
This commit is contained in:
		@@ -15,7 +15,6 @@ session_start();
 | 
				
			|||||||
require_once 'config.php';
 | 
					require_once 'config.php';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$paths_to_check = array();
 | 
					$paths_to_check = array();
 | 
				
			||||||
$paths_to_check[] = "pages/global";
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$page = basename($_SERVER['QUERY_STRING']);
 | 
					$page = basename($_SERVER['QUERY_STRING']);
 | 
				
			||||||
@@ -35,6 +34,7 @@ if (isset($_SESSION['user_id'])) {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    $paths_to_check[] = "pages/user";
 | 
					    $paths_to_check[] = "pages/user";
 | 
				
			||||||
 | 
					    $paths_to_check[] = "pages/global";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$page_file = "$template_dir/404.html";
 | 
					$page_file = "$template_dir/404.html";
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user