Re: $this->propertyValues['is_active'] shouldn't that be rather an overridable method?
Lukas Kahwe Smith <[email protected]> Tue, 30 Aug 2005 09:01:34 +0200
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Matthias Nothhaft wrote:
> function is_includable($file)
> {
> // 3rd param = 'use_include_path'
> $f = @fopen($file, 'rb', true);
> $result = ($f) ? true : false;
> @fclose($f);
> return $result;
> }
The problem is that fopen() opens the file and thereby starts all sorts
of locking procedures.
I have talked to Wez about exactly this hack a year or so ago and we
concluded it would not be a good idea.
regards,
Lukas