RE: include_path
| From: | hans at linux dot gelrevision dot nl | Date: | Sat, 23 Jun 2001 22:34:02 +0000 |
| Subject: | RE: include_path | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-966@lists.php.net to get a copy of this message | ||
On 23-Jun-01 Gavin Cowie wrote:
> Hans wrote:
> I'm willing to say that template engines are of a sufficiently different
> scope to other php projects that they have the "right" to require a runtime
> change in the include path.
I will explain below.
> But Hans, does your "10 projects" comment imply having 10 projects using
> Smarty means that you have to add an entry for each projects'
> Smarty-template class into your php.ini?
Nopes, but since I'm keeping projects together in dirs for obvious reasons
(different domains, different httpd instances on all kinds of servers) I hate
it to have an include path. I just love to tar the dir or do a cvs upload on
servers without the burdon of having to edit system files.
> I think I've just talked myself into a big knot, but hopefully some of this
> is understandable ;)
:)
I understand, I don't need to have them on the production machines but I do
have to alter my own include path or use the ini_set function. I normally just
setup a project with vars for the relative paths. Works very nice over here.
The current version of Smarty doesn't allow me to use it that way.
Hans
--
Linux : http://linux.gelrevision.nl/
phpReview : http://phpReview.nl.linux.org/
Boeken : http://nl.linux.org/boeken/