svn: /web/php-master/trunk/include/ functions.inc

From: Date: Wed, 23 Mar 2011 13:14:34 +0000
Subject: svn: /web/php-master/trunk/include/ functions.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10716@lists.php.net to get a copy of this message
bjori Wed, 23 Mar 2011 13:14:34 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=309599 Log: Prettify, and advocate https until we kill http Changed paths: U web/php-master/trunk/include/functions.inc Modified: web/php-master/trunk/include/functions.inc =================================================================== --- web/php-master/trunk/include/functions.inc 2011-03-23 13:14:12 UTC (rev 309598) +++ web/php-master/trunk/include/functions.inc 2011-03-23 13:14:34 UTC (rev 309599) @@ -34,9 +34,15 @@ <li><a href="http://wiki.php.net/">Wiki</a></li> <li><a href="http://bugs.php.net/">Bugsweb</a></li> </ul> - <h2>Have you changed your password yet?</h2> <?php +if (!isset($_SERVER["HTTPS"]) || $_SERVER["HTTPS"] != "on") { + warn("Why are you not using https?"); +} else { + warn("Have you changed your password yet?"); } +?> +<?php +} function foot() { echo "</body></html>";

« previous php.webmaster (#10716) next »