Re: Error Info (see if this makes sense)
| From: | Stan Lemon | Date: | Thu, 19 Jun 2003 15:29:12 +0000 |
| Subject: | Re: Error Info (see if this makes sense) | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6123@lists.php.net to get a copy of this message | ||
So for some reason, this:
ini_set("include_path","/home/insyder/PEAR");
include_once("/home/insyder/PEAR/Mail.php");
include_once("/home/insyder/PEAR/Mail/mime.php");
ini_restore("include_path");
Kills it, but this doesn't:
ini_set("include_path","/home/insyder/PEAR");
include_once("/home/insyder/PEAR/Mail.php");
include_once("/home/insyder/PEAR/Mail/mime.php");
But.... I need that last line:
ini_restore("include_path");
If I want to include ANY other file.
So I tried... ini_set("include_path",".;/home/insyder/PEAR");
and ini_set("include_path",".:/home/insyder/PEAR");
Hopeing it might work like php.ini
NOPE
Any suggestions? It seems the restore messes it up. Beats me why though. Any help would be appreciated.
- Stan