asdg
This commit is contained in:
parent
c1673b3251
commit
4a5886df49
@ -65,7 +65,7 @@ if (isset($_SESSION['user_id'])) {
|
||||
$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)){
|
||||
$page_name = $matches[1];
|
||||
|
Loading…
Reference in New Issue
Block a user