note 116861 added to function.set-include-path
| From: | till at etill dot net | Date: | Wed, 11 Mar 2015 12:27:13 +0000 |
| Subject: | note 116861 added to function.set-include-path | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201921@lists.php.net to get a copy of this message | ||
It appears that relative paths are allowed:
set_include_path( '..' . DIRECTORY_SEPARATOR . 'source');
require_once( 'Foo.class.php');
----
Server IP: 195.139.129.18
Probable Submitter: 156.116.8.141
----
Manual Page -- http://php.net/manual/en/function.set-include-path.php
Edit -- https://master.php.net/note/edit/116861
Del: integrated -- https://master.php.net/note/delete/116861/integrated
Del: useless -- https://master.php.net/note/delete/116861/useless
Del: bad code -- https://master.php.net/note/delete/116861/bad+code
Del: spam -- https://master.php.net/note/delete/116861/spam
Del: non-english -- https://master.php.net/note/delete/116861/non-english
Del: in docs -- https://master.php.net/note/delete/116861/in+docs
Del: other reasons-- https://master.php.net/note/delete/116861
Reject -- https://master.php.net/note/reject/116861
Search -- https://master.php.net/manage/user-notes.php