Re: [SMARTY-DEV] ideas for the smarty class file
| From: | Monte Ohrt | Date: | Fri, 21 Feb 2003 15:24:30 +0000 |
| Subject: | Re: [SMARTY-DEV] ideas for the smarty class file | ||
| References: | 1 2 3 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-804@lists.php.net to get a copy of this message | ||
I think a file restructure will help a lot, which is something being
worked on. I don't want to add anything we don't absolutely need.
Monte
On Fri, 2003-02-21 at 06:15, Nick Charsley wrote:
> A possible idea, could be to have a SMARTY_APP_DIR, defaulting to the script
> cwd, with the templates, templates_c, configs and cache off of it.
>
> This would give a clear signal as to the relationship between the two
> directories. It was something that I was unclear about myself until someone
> mentioned it on the lists.
>
> It would also mean that by setting SMARTY_DIR, and SMARTY_APP_DIR you should
> be quickly able to get another site/app up and running. It would stop quite
> a bit of confusion, I'm sure a lot of people are tending to only see the
> templates directory as site specific with all other directories as shared
> between all instances of smarty (or possibly that was just me being thick!)
>
> "Tom Sommer" <webmaster@tsn.dk> wrote in message
> news:20030220190310.26317.qmail@pb1.pair.com...
> > "Monte Ohrt" <monte@ispi.net> wrote in
> > news:1045767049.711.207.camel@lena.ispi.prv...
> > > It would be nice to make things consistant and perfect, but changing
> > > property names would break stuff big time. Its the same thing with
> > > browsers and HTTP_REFERER. It's misspelled, so fix it right? :-)
> >
> > lol, yeah
> >
>
> oh the joys of Dyslexia, I'd never noticed that :(
>
> nick (c)
--
Monte Ohrt <monte@ispi.net>