summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-01-29 15:50:46 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-01-29 15:50:46 -0800
commit6ee6d213e08ca4a5dfa53ba7f74e5b78b6098b73 (patch)
tree93a10106e458ec5be640d837c9f3ea09182b7a0a /index.php
parent25b880ff40e62982e9b498bb5927271f81756e6b (diff)
downloadpathery-6ee6d213e08ca4a5dfa53ba7f74e5b78b6098b73.tar.xz
Leaderboard renamed to scores. URL backdating included.
Diffstat (limited to 'index.php')
-rw-r--r--index.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/index.php b/index.php
index 7561071..21abbde 100644
--- a/index.php
+++ b/index.php
@@ -51,7 +51,7 @@ $footerLinks['members'] = "Member List";
//ROW 2
$footerLinks['chat'] = "Chat";
-$footerLinks['leaderboard'] = "Scores";
+$footerLinks['scores'] = "Scores";
$footerLinks['about'] = "About Us";
//ROW 3
@@ -71,7 +71,7 @@ $footerLinks['#top'] = "Back to Top";
//Links appear in order.
$Links['home'] = "Home";
-$Links['leaderboard'] = "Scores";
+$Links['scores'] = "Scores";
$Links['challengelist'] = "Challenges <i>BETA!</i>";
//$Links['howtoplay'] = "How to Play";
//$Links['tutorial'] = "Tutorial";
@@ -149,8 +149,13 @@ switch ($request) {
require("pages/howtoplay.php");
break;
+ //Support older links.
case "leaderboard":
- require("pages/leaderboard.php");
+ header("Location: $mydomain"."scores?date=".$_GET['date']);
+ exit;
+ break;
+ case "scores":
+ require("pages/scores.php");
break;
case "cp":