From 009a16690902c6f55d9a094c3a53ecece319c403 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 8 Jun 2013 11:12:20 -0700 Subject: Rewrite news.php * Refactor stuff into functions. * Bump min Mana version to 0.5.1. * Detect old ManaPlus versions also. * Give a 403 Forbidden error to old clients (still sends the body). --- world/map/news.php | 124 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 107 insertions(+), 17 deletions(-) (limited to 'world/map') diff --git a/world/map/news.php b/world/map/news.php index d5208e44..398395b5 100644 --- a/world/map/news.php +++ b/world/map/news.php @@ -1,40 +1,130 @@ -- cgit v1.2.3-60-g2f50