svn: /web/php/trunk/include/ prepend.inc

From: Date: Sun, 26 Dec 2010 16:07:07 +0000
Subject: svn: /web/php/trunk/include/ prepend.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9823@lists.php.net to get a copy of this message
bjori Sun, 26 Dec 2010 16:07:07 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306686 Log: Return english as language fallback, in betamode Changed paths: U web/php/trunk/include/prepend.inc Modified: web/php/trunk/include/prepend.inc =================================================================== --- web/php/trunk/include/prepend.inc 2010-12-26 16:06:23 UTC (rev 306685) +++ web/php/trunk/include/prepend.inc 2010-12-26 16:07:07 UTC (rev 306686) @@ -87,10 +87,15 @@ $MYPHPNET[0] = $langcode; } // Return code or FALSE - elseif (isset($MYPHPNET[0])) { + elseif (isset($MYPHPNET[0]) && $MYPHPNET[0]) { return $MYPHPNET[0]; } - else { return FALSE; } + else { + if (myphpnet_beta()) { + return "en"; + } + return FALSE; + } } define("MYPHPNET_URL_NONE", FALSE);

« previous php.webmaster (#9823) next »