Workaround for links from fb, like ?fbclid=x

Now shows news page, instead of "not found".
For 0.9 there is better solution
This commit is contained in:
slawkens
2023-05-13 10:20:58 +02:00
parent e081a67589
commit 073d9da0bc
2 changed files with 13 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ defined('MYAAC') or die('Direct access not allowed!');
}
else {
$tmp = URI;
if(empty($tmp)) {
if(empty($tmp) || !$isEmptyGet) {
$tmp = array('news');
}
else {