summary refs log tree commit diff stats
path: root/index.php
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-03-31 21:56:35 -0400
committerStarla Insigna <starla4444@gmail.com>2011-03-31 21:56:35 -0400
commite6362171e86d53155c34bf60f2786ee5af0cb707 (patch)
treea6e59f4984207cff0b9163f17f80e52366382e94 /index.php
parent87b42536198dfab02de616f9ba1e68ea307cce90 (diff)
downloadfourisland-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-xindex.php10
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
35if (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
35ob_start(); 45ob_start();
36 46
37$pageName = basename($_GET['area']); 47$pageName = basename($_GET['area']);