This commit is contained in:
Richard Mikloš 2024-01-20 19:56:14 +01:00
parent 5a52ef133c
commit c8cbbc0d98

@ -26,6 +26,7 @@ $page_regex = '/<!--PAGENAME=(.*?)-->/';
if(preg_match($page_regex, $htmlWithComments, $matches)){
$page_name = $matches[1];
print_r($matches);
}
else{
$page_name = ucfirst($page);