cvs: phpweb /include prepend.inc

From: Date: Fri, 15 May 2009 11:53:31 +0000
Subject: cvs: phpweb /include prepend.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-4779@lists.php.net to get a copy of this message
bjori Fri May 15 11:53:31 2009 UTC Modified files: /phpweb/include prepend.inc Log: set a "default value" for the url fallback choice (patch by kalle) http://cvs.php.net/viewvc.cgi/phpweb/include/prepend.inc?r1=1.41&r2=1.42&diff_format=u Index: phpweb/include/prepend.inc diff -u phpweb/include/prepend.inc:1.41 phpweb/include/prepend.inc:1.42 --- phpweb/include/prepend.inc:1.41 Thu Mar 26 22:41:08 2009 +++ phpweb/include/prepend.inc Fri May 15 11:53:31 2009 @@ -1,6 +1,6 @@ <?php // -*- C++ -*- -// $Id: prepend.inc,v 1.41 2009/03/26 22:41:08 philip Exp $ +// $Id: prepend.inc,v 1.42 2009/05/15 11:53:31 bjori Exp $ // See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 // for cache control header descriptions (used in many places on the site). @@ -101,7 +101,7 @@ } // Return code or NONE - elseif (isset($MYPHPNET[1])) { + elseif (isset($MYPHPNET[1]) && !empty($MYPHPNET[1])) { return $MYPHPNET[1]; } else { return MYPHPNET_URL_NONE; } }

« previous php.webmaster (#4779) next »