com web/php: Show the ug tips to lucky few, depending on time: include/prepend.inc

From: Date: Thu, 23 Jan 2014 01:01:11 +0000
Subject: com web/php: Show the ug tips to lucky few, depending on time: include/prepend.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-22199@lists.php.net to get a copy of this message
Commit: a6c992f991525524315c812a2da33f2ef3854f23 Author: Hannes Magnusson <bjori@mongodb.com> Wed, 22 Jan 2014 17:01:11 -0800 Parents: 63fec15bf5b96d60d49396f30fd8129a3daea677 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=a6c992f991525524315c812a2da33f2ef3854f23 Log: Show the ug tips to lucky few, depending on time Changed paths: M include/prepend.inc Diff: diff --git a/include/prepend.inc b/include/prepend.inc index 30613c3..e6a58a0 100644 --- a/include/prepend.inc +++ b/include/prepend.inc @@ -175,6 +175,10 @@ function myphpnet_showug($enable = null) { return $MYPHPNET[3]; } + if ($_SERVER["REQUEST_TIME"] % 10) { + return true; + } + return false; }

« previous php.webmaster (#22199) next »