cvs: phpweb /include layout.inc

From: Date: Tue, 11 Jan 2005 15:57:55 +0000
Subject: cvs: phpweb /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-27195@lists.php.net to get a copy of this message
didou Tue Jan 11 10:57:55 2005 EDT Modified files: /phpweb/include layout.inc Log: Fix the php.net/if redirection http://cvs.php.net/diff.php/phpweb/include/layout.inc?r1=1.216&r2=1.217&ty=u Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.216 phpweb/include/layout.inc:1.217 --- phpweb/include/layout.inc:1.216 Sun Jan 9 07:53:35 2005 +++ phpweb/include/layout.inc Tue Jan 11 10:57:54 2005 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.216 2005/01/09 12:53:35 goba Exp $ */ +/* $Id: layout.inc,v 1.217 2005/01/11 15:57:54 didou Exp $ */ // Set the static content root differently on php.net $_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ? @@ -619,6 +619,9 @@ $chap = "ref.$string.php"; $feat = "features.$string.php"; $struct = "control-structures.$string.php"; + if ($string == 'if') { + return "control-structures.php#control-structures.if"; + } if(@is_file($func)) return $func; else if(@is_file($chap)) return $chap; else if(@is_file($feat)) return $feat;

« previous php.mirrors (#27195) next »