Forráskód Böngészése

reddit pisses me off

lolcat 1 hete
szülő
commit
b37802e8f1
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      lib/frontend.php

+ 1 - 1
lib/frontend.php

@@ -780,7 +780,7 @@ class frontend{
 						// https://ihsoyct.github.io/?subreddit=selfhosted&backend=pullpush&mode=comments&sort=desc
 						elseif(
 							preg_match(
-								'/^\/r\/([^\/]+)\/(?:$|\?|&|search|wiki)/',
+								'/^\/r\/([^\/]+)\/(?:search|wiki|about)?(?:$|\?|&)/',
 								$host["path"],
 								$slug
 							)