From e6362171e86d53155c34bf60f2786ee5af0cb707 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Thu, 31 Mar 2011 21:56:35 -0400 Subject: Added April Fools Day 2011 joke Also adjusted the date for the Day of Silence to reflect the 2011 date. --- index.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 2986730..9072431 100755 --- a/index.php +++ b/index.php @@ -32,6 +32,16 @@ if (strpos($_SERVER['REQUEST_URI'],'index.php')) exit; } +if (sd_isSpecialDay('April Fools Day')) +{ + if (rand(0,20) == 4) + { + header('Location: http://www.youtube.com/watch?v=CD2LRROpph0'); + echo(" "); + exit; + } +} + ob_start(); $pageName = basename($_GET['area']); -- cgit 1.4.1