Re: PEAR::Config - conflict
| From: | Carsten Wiedmann | Date: | Mon, 29 Oct 2007 16:15:12 +0000 |
| Subject: | Re: PEAR::Config - conflict | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28141@lists.php.net to get a copy of this message | ||
Christian Weiske schrieb:
1. You can still fix it with include path magic. Put the pear path before your local path ".", and pear's config will be included first. Your own config can be included with dirname(__FILE__) . '/config.php' from your index.php 2. Put your own config.php into a subdir and include it with 'subdir/config.php'/He can also include his "config.php" with: | include './config.php'; (no include_path is used) And PEAR::Config with: | include 'Config.php'; (include_path is used) Regards, Carsten