diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-03-31 21:56:35 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-03-31 21:56:35 -0400 |
commit | e6362171e86d53155c34bf60f2786ee5af0cb707 (patch) | |
tree | a6e59f4984207cff0b9163f17f80e52366382e94 /index.php | |
parent | 87b42536198dfab02de616f9ba1e68ea307cce90 (diff) | |
download | fourisland-e6362171e86d53155c34bf60f2786ee5af0cb707.tar.gz fourisland-e6362171e86d53155c34bf60f2786ee5af0cb707.tar.bz2 fourisland-e6362171e86d53155c34bf60f2786ee5af0cb707.zip |
Added April Fools Day 2011 joke
Also adjusted the date for the Day of Silence to reflect the 2011 date.
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 10 |
1 files changed, 10 insertions, 0 deletions
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')) | |||
32 | exit; | 32 | exit; |
33 | } | 33 | } |
34 | 34 | ||
35 | if (sd_isSpecialDay('April Fools Day')) | ||
36 | { | ||
37 | if (rand(0,20) == 4) | ||
38 | { | ||
39 | header('Location: http://www.youtube.com/watch?v=CD2LRROpph0'); | ||
40 | echo(" "); | ||
41 | exit; | ||
42 | } | ||
43 | } | ||
44 | |||
35 | ob_start(); | 45 | ob_start(); |
36 | 46 | ||
37 | $pageName = basename($_GET['area']); | 47 | $pageName = basename($_GET['area']); |