asdg
This commit is contained in:
		@@ -65,7 +65,7 @@ if (isset($_SESSION['user_id'])) {
 | 
				
			|||||||
    $page_data = str_replace('<template name="username">', $_SESSION['user_username'], $page_data);
 | 
					    $page_data = str_replace('<template name="username">', $_SESSION['user_username'], $page_data);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$page_regex = '/<!--PAGENAME=(.*?)-->/';
 | 
					$page_regex = '/<!--PAGENAME=(.*?)-->/s';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if(preg_match($page_regex, $page_data, $matches)){
 | 
					if(preg_match($page_regex, $page_data, $matches)){
 | 
				
			||||||
    $page_name = $matches[1];
 | 
					    $page_name = $matches[1];
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user