diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2017-03-02 11:40:27 +0900 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2017-03-02 11:40:27 +0900 |
| commit | 454acf056694d374498be7e9d961b36de62a5ce1 (patch) | |
| tree | acfd8ec58964015a97d29b5e0fa82a87e0488f02 /mod.php | |
| parent | 6c06045c0329a9a2c0462b0db1df5ec72dc41493 (diff) | |
Add JSON interface to Recents Posts functionality, e.g. mod_recent_posts
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -73,6 +73,7 @@ $pages = array( '/ban-appeals' => 'secure_POST ban_appeals', // view ban appeals '/recent/(\d+)' => 'recent_posts', // view recent posts + '/recent/(\d+)/(json)?' => 'recent_posts', // view recent posts JSON '/search' => 'search_redirect', // search '/search/(posts|IP_notes|bans|log)/(.+)/(\d+)' => 'search', // search |
