cvs: phpweb / error.php /include layout.inc
| From: | Gabor Hojtsy | Date: | Sun, 16 Jan 2005 10:18:05 +0000 |
| Subject: | cvs: phpweb / error.php /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-27233@lists.php.net to get a copy of this message | ||
goba Sun Jan 16 05:18:05 2005 EDT
Modified files:
/phpweb error.php
/phpweb/include layout.inc
Log:
move 'if' redirection to proper place
http://cvs.php.net/diff.php/phpweb/error.php?r1=1.30&r2=1.31&ty=u
Index: phpweb/error.php
diff -u phpweb/error.php:1.30 phpweb/error.php:1.31
--- phpweb/error.php:1.30 Thu Jan 6 06:52:17 2005
+++ phpweb/error.php Sun Jan 16 05:18:05 2005
@@ -1,6 +1,6 @@
<?php
-// $Id: error.php,v 1.30 2005/01/06 11:52:17 goba Exp $
+// $Id: error.php,v 1.31 2005/01/16 10:18:05 goba Exp $
/*
@@ -230,6 +230,7 @@
"ternary" => "language.operators.comparison.ternary",
"instanceof" => "language.operators.type",
+ "if" => "language.control-structures",
"tut" => "tutorial",
"tut.php" => "tutorial", // BC
http://cvs.php.net/diff.php/phpweb/include/layout.inc?r1=1.217&r2=1.218&ty=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.217 phpweb/include/layout.inc:1.218
--- phpweb/include/layout.inc:1.217 Tue Jan 11 10:57:54 2005
+++ phpweb/include/layout.inc Sun Jan 16 05:18:05 2005
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.217 2005/01/11 15:57:54 didou Exp $ */
+/* $Id: layout.inc,v 1.218 2005/01/16 10:18:05 goba Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -619,9 +619,6 @@
$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;