#21044 [NEW]: getcwd() returns empty string (not always)
| From: | miki at ceti dot pl | Date: | Mon, 16 Dec 2002 14:04:40 +0000 |
| Subject: | #21044 [NEW]: getcwd() returns empty string (not always) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-27852@lists.php.net to get a copy of this message | ||
From: miki@ceti.pl
Operating system: Linux, 2.2.22
PHP version: 4.3.0RC3
PHP Bug Type: Directory function related
Bug description: getcwd() returns empty string (not always)
getcwd() works only within pages in 'main' document root.
Pages under user directories (/~user/) and pages located in every virtual
host directory doesn't get proper getcwd().
It results in include() and reqiure() using relative paths not working.
Bug came out when I was trying to install fresh copy of postnuke.
--
Edit bug report at http://bugs.php.net/?id=21044&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21044&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21044&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21044&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21044&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21044&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21044&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21044&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21044&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21044&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21044&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21044&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21044&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21044&r=isapi