[Phplib-commit] CVS: php-lib-stable/php menu.inc,1.3,1.4
Brought to you by:
nhruby,
richardarcher
|
From: Richard A. <ric...@us...> - 2002-04-26 12:29:43
|
Update of /cvsroot/phplib/php-lib-stable/php
In directory usw-pr-cvs1:/tmp/cvs-serv29407
Modified Files:
menu.inc
Log Message:
Bug #488605 - replace \ with / after dirname.
Note: I don't have a Windows box, so this is untested.
Index: menu.inc
===================================================================
RCS file: /cvsroot/phplib/php-lib-stable/php/menu.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** menu.inc 19 Mar 2002 22:32:25 -0000 1.3
--- menu.inc 26 Apr 2002 12:29:40 -0000 1.4
***************
*** 295,298 ****
--- 295,299 ----
while(list($k, $v) = each($this->urlmap)) {
$base = dirname($v);
+ $base = str_replace("\\","/",$base);
if ($base == "/") {
$base = "";
|