svn: /web/php/trunk/include/ manual-lookup.inc

From: Date: Sat, 05 Jun 2010 21:10:47 +0000
Subject: svn: /web/php/trunk/include/ manual-lookup.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-8308@lists.php.net to get a copy of this message
bjori Sat, 05 Jun 2010 21:10:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300216 Log: - Remove the /manual workaround (was a typo in the generation script on the rsync box) - Do not hardcode the fallback "slow lookup" to english, use the originally requested language (the "slow lookup" will then fallback to 'en' again) Changed paths: U web/php/trunk/include/manual-lookup.inc Modified: web/php/trunk/include/manual-lookup.inc =================================================================== --- web/php/trunk/include/manual-lookup.inc 2010-06-05 21:03:13 UTC (rev 300215) +++ web/php/trunk/include/manual-lookup.inc 2010-06-05 21:10:47 UTC (rev 300216) @@ -157,11 +157,6 @@ } - // No idea why, but the db no longer contains /manual prefix.. - /*if (strncmp($r[0], "/manual", strlen("/manual")) != 0) { - $r[0] = "/manual" . $r[0]; - }*/ - // Match found // But does the file really exist? if (file_exists($_SERVER["DOCUMENT_ROOT"] . $r[0])) { @@ -174,6 +169,6 @@ } // No match found - return find_manual_page_slow($lang /*$langs[0]*/, $kw); + return find_manual_page_slow($langs[0], $kw); }

« previous php.webmaster (#8308) next »