include_path
| From: | hans at linux dot gelrevision dot nl | Date: | Fri, 22 Jun 2001 15:10:48 +0000 |
| Subject: | include_path | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-949@lists.php.net to get a copy of this message | ||
Hi all,
Just tried to update and to my suprise Smarty now needs to be in the include
path. Again I seem to stumble on probs with this (not personal).
Part of the solution is the following code (no I don't store the smarty classes
in the include path).
$incP = ini_get("include_path");;
ini_set ("include_path", $incP . ":" . $clsDir);
There's one more issue...
Config_File: Bad config file path './configs'
It searches within the webroot for a config file (no, .htaccess is not a
solution for everything). I do think this is something that should be altered..
Regards,
Hans
Linux : http://linux.gelrevision.nl/
phpReview : http://phpReview.nl.linux.org/
Boeken : http://nl.linux.org/boeken/