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

From: Date: Sat, 05 Jun 2010 15:25:49 +0000
Subject: svn: /web/php/trunk/include/ manual-lookup.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-8305@lists.php.net to get a copy of this message
bjori Sat, 05 Jun 2010 15:25:49 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300208 Log: Fixed bug#51628 (hard to find the Spanish translation) Bug: http://bugs.php.net/51628 (Re-Opened) I noticed that is hard to find the translation of the PHP manual in Spanish 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 15:25:18 UTC (rev 300207) +++ web/php/trunk/include/manual-lookup.inc 2010-06-05 15:25:49 UTC (rev 300208) @@ -156,6 +156,12 @@ continue; } + + // 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])) {

« previous php.webmaster (#8305) next »