summaryrefslogtreecommitdiffstats
path: root/sections/ajax/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'sections/ajax/index.php')
-rw-r--r--sections/ajax/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/sections/ajax/index.php b/sections/ajax/index.php
index b3a7a28..2e7440f 100644
--- a/sections/ajax/index.php
+++ b/sections/ajax/index.php
@@ -13,7 +13,7 @@ enforce_login();
/* AJAX_LIMIT = array(x,y) = 'x' requests every 'y' seconds.
e.g. array(5,10) = 5 requests every 10 seconds */
$AJAX_LIMIT = array(5,10);
-$LimitedPages = array('tcomments','user','forum','top10','browse','usersearch','requests','artist','inbox','subscriptions','bookmarks','announcements','notifications','request','better','similar_artists','userhistory','votefavorite','wiki','torrentgroup','news_ajax','user_recents');
+$LimitedPages = array('tcomments','user','forum','top10','browse','usersearch','requests','artist','inbox','subscriptions','bookmarks','announcements','notifications','request','better','similar_artists','userhistory','votefavorite','wiki','torrentgroup','news_ajax','user_recents', 'collage');
// These users aren't rate limited.
// This array should contain user IDs.
@@ -158,6 +158,9 @@ switch ($_GET['action']) {
case 'user_recents':
require(SERVER_ROOT . '/sections/ajax/user_recents.php');
break;
+ case 'collage':
+ require(SERVER_ROOT . '/sections/ajax/collage.php');
+ break;
default:
// If they're screwing around with the query string
json_die("failure");