note 98064 added to function.include
| From: | creator at mindcreations dot com | Date: | Mon, 24 May 2010 09:28:57 +0000 |
| Subject: | note 98064 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-169548@lists.php.net to get a copy of this message | ||
If you can't change your include path or you have to leave some php libraries where they are,
you can just do a chdir($localdir) before the include or require statement to make sure that the
local dir now is $localdir.
This is the typical case if you have to include some other app classes and you do not want to move
the app files around.
This is just a workaround for those who can't benefit from all other solutions proposed.
----
Server IP: 81.88.49.3
Probable Submitter: 217.72.97.197
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/98064
Del: integrated -- https://master.php.net/note/delete/98064/integrated
Del: useless -- https://master.php.net/note/delete/98064/useless
Del: bad code -- https://master.php.net/note/delete/98064/bad+code
Del: spam -- https://master.php.net/note/delete/98064/spam
Del: non-english -- https://master.php.net/note/delete/98064/non-english
Del: in docs -- https://master.php.net/note/delete/98064/in+docs
Del: other reasons-- https://master.php.net/note/delete/98064
Reject -- https://master.php.net/note/reject/98064
Search -- https://master.php.net/manage/user-notes.php