diff --git a/blackout.tgz b/blackout.tgz index ef87ed74..4b5a5d31 100644 Binary files a/blackout.tgz and b/blackout.tgz differ diff --git a/blackout/blackout.php b/blackout/blackout.php index ffd59dca..2cb7c041 100644 --- a/blackout/blackout.php +++ b/blackout/blackout.php @@ -1,7 +1,7 @@ = 5.3 * License: MIT * Version: 1.0 * Author: Tobias Diekershoff @@ -62,6 +62,10 @@ function blackout_redirect ($a, $b) { if (local_user()) { return true; } + + if (! (version_compare(PHP_VERSION, '5.3.0') >= 0)) + return true; + // else... $mystart = get_config('blackout','begindate'); $myend = get_config('blackout','enddate'); diff --git a/nsfw.tgz b/nsfw.tgz index ccddb1e3..c484aa03 100755 Binary files a/nsfw.tgz and b/nsfw.tgz differ