diff --git a/index.php b/index.php index 7cb6ba67..6517e3fb 100644 --- a/index.php +++ b/index.php @@ -154,6 +154,12 @@ else { } } +// handle ?fbclid=x, etc. (show news page) +if (!$found && count($_GET) > 0 && !isset($_REQUEST['subtopic']) && !isset($_REQUEST['p'])) { + $_REQUEST['p'] = $_REQUEST['subtopic'] = 'news'; + $found = true; +} + // define page visited, so it can be used within events system $page = isset($_REQUEST['subtopic']) ? $_REQUEST['subtopic'] : (isset($_REQUEST['p']) ? $_REQUEST['p'] : ''); if(empty($page) || !preg_match('/^[A-z0-9\_\-]+$/', $page)) { diff --git a/templates/kathrine/images/pages/test.php b/templates/kathrine/images/pages/test.php new file mode 100644 index 00000000..acc31c09 --- /dev/null +++ b/templates/kathrine/images/pages/test.php @@ -0,0 +1,3 @@ +