PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Authentication » LiveUser » Bug #2492

LiveUser::_storeCookiePasswdId() fails on is_writable

Details

Submitted2004-10-11 07:41 UTC
Fromscragz at hotmail dot com
Assignedlsmith
StatusClosed
PackageLiveUser
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2004-10-11 07:41 UTC] scragz at hotmail dot com

Description:
------------
In LiveUser::_storeCookiePasswdId() in the first if statement, it is checking if a non-existent file is writable.

Reproduce code:
---------------
- if (!is_writable($dir . "/$store.lu")) {
+ if (!is_writable($dir)) {

The new file isn't created until the next step.

[2004-10-11 11:17 UTC] smith at backendmedia dot com

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.