#20514 [Opn->Csd]: change of behaviour of function getcwd() ?
| From: | nicos@php.net | Date: | Wed, 20 Nov 2002 11:53:38 +0000 |
| Subject: | #20514 [Opn->Csd]: change of behaviour of function getcwd() ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25325@lists.php.net to get a copy of this message | ||
ID: 20514
Updated by: nicos@php.net
Reported By: erwan@barzhoneg.com
-Status: Open
+Status: Closed
Bug Type: Directory function related
Operating System: win32
PHP Version: 4.3.0RC1
New Comment:
Yes, this is new and wanted.
getcwd is returning the current __FILE__ directory.
Previous Comments:
------------------------------------------------------------------------
[2002-11-20 05:27:42] erwan@barzhoneg.com
It occurs on my IIS5/win2k/PHP4.3.0rc1 (from the binary distrib):
when I use an include , the function getcwd returns the directory of
the include and not the directory of the main page.
in previous PHP versions, this was not the case : the getcwd() would
always return the directory of the main page.
E.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20514&edit=1