note 106347 added to language.constants.predefined
| From: | fmmarzoa at gmx dot net | Date: | Sat, 29 Oct 2011 17:18:34 +0000 |
| Subject: | note 106347 added to language.constants.predefined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184218@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 87.216.79.141
----
Manual Page -- http://www.php.net/manual/en/language.constants.predefined.php
Edit -- https://master.php.net/note/edit/106347
Del: integrated -- https://master.php.net/note/delete/106347/integrated
Del: useless -- https://master.php.net/note/delete/106347/useless
Del: bad code -- https://master.php.net/note/delete/106347/bad+code
Del: spam -- https://master.php.net/note/delete/106347/spam
Del: non-english -- https://master.php.net/note/delete/106347/non-english
Del: in docs -- https://master.php.net/note/delete/106347/in+docs
Del: other reasons-- https://master.php.net/note/delete/106347
Reject -- https://master.php.net/note/reject/106347
Search -- https://master.php.net/manage/user-notes.php