note 106347 deleted from language.constants.predefined by danbrown
| From: | danbrown@php.net | Date: | Sat, 29 Oct 2011 17:28:12 +0000 |
| Subject: | note 106347 deleted from language.constants.predefined by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-184220@lists.php.net to get a copy of this message | ||
Note Submitter: fmmarzoa at gmx dot net
----
The real problem with the code I said before, is the redefinition of __DIR__ through different
files.
If __DIR__ has been defined yet on the script, then in the include it will not be redefined due to
the conditional sentence, so __DIR__ will be still the script's directory instead of the
include one.