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-18214@lists.php.net to get a copy of this message
Commit: 46ce29d9d2231acdc038b24a3afc280a6e613ff3 Author: Hannes Magnusson <bjori@mongodb.com> Wed, 22 Jan 2014 17:01:11 -0800 Parents: 032ea400f04c3431b886fbd5e84b03138589cb7f Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=46ce29d9d2231acdc038b24a3afc280a6e613ff3 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 (#18214) next »