Re: Proposal: File_HtDigest
| From: | Michael Wallner | Date: | Tue, 16 Sep 2003 12:34:27 +0000 |
| Subject: | Re: Proposal: File_HtDigest | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21553@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Xavier Noguer, you wrote:
> In that case you are right. But if you do
>
> $htg = &new File_HtGroup('/non/existant/.htdigest', true);
>
> it will silently fail (just guessing, I haven't tested it)
Well yes, that's another point of view.
To me "auto_loading" means:
IF the file is already there then load it.
But if you and others think different, it's no big task returning
a PEAR_Error if the file isn't there.
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Cygwin)
iD8DBQE/ZwNT3645gzRPvy8RAqqgAJ9/9elX6jg6m2c7WO4HvBZLaDB3kACfSKBq
Ici4XiwuBG+eTbH+TFU4X/s=
=kPzb
-----END PGP SIGNATURE-----