reddit pisses me off
This commit is contained in:
+1
-1
@@ -780,7 +780,7 @@ class frontend{
|
|||||||
// https://ihsoyct.github.io/?subreddit=selfhosted&backend=pullpush&mode=comments&sort=desc
|
// https://ihsoyct.github.io/?subreddit=selfhosted&backend=pullpush&mode=comments&sort=desc
|
||||||
elseif(
|
elseif(
|
||||||
preg_match(
|
preg_match(
|
||||||
'/^\/r\/([^\/]+)\/(?:$|\?|&|search|wiki)/',
|
'/^\/r\/([^\/]+)\/(?:search|wiki|about)?(?:$|\?|&)/',
|
||||||
$host["path"],
|
$host["path"],
|
||||||
$slug
|
$slug
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user