Bug #718: Hard to use several include
| From: | zavadsky at im dot bas-net dot by | Date: | Wed, 02 Sep 1998 18:20:31 +0000 |
| Subject: | Bug #718: Hard to use several include | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-746@lists.php.net to get a copy of this message | ||
From: zavadsky@im.bas-net.by
Operating system: ALL
PHP version: 3.0.3
PHP Bug Type: Feature/Change Request
Bug description:
I wish to create a library of functions ant put it to separate directory, e.g..
inc
I put include "inc/header.inc" in the main script, ok, but when I put
include "something.inc" in header.inc, the system says file not found
I have to use include "inc/something.inc" But I have several scripts with different
rlative position to inc
Proposal: when including file, all paths must be treated as path related to file directory
or path related to the main script directory, not only main scripr directory, as currently.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net