I agree 100% with Kornel
As a sidenote: I you are using Apache and would like to restrict access
to template sources altogether, simple drop an .htaccess file with the
following content in the template source directory:
Deny From All
You probably know this anyways, but I'm just sharing th
On 07-11-2008 at 09:38:13 Zbyněk Nevrlý <[EMAIL PROTECTED]> wrote:
Hi,
I am using PHPTAL for seperate business logic from presentation. So there
are controllers, model classes and views (HTML templates). Problem is
there views/*.html are accessible from direct calling through URL (I
need to
2008/11/7 Kornel Lesiński <[EMAIL PROTECTED]>:
> BTW: omit-tag is never needed on tal:block, and it's redundant with replace.
Mea culpa, I haven't used PHPTAL in ages.
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mail
On 07-11-2008 at 09:56:22 Krzysztof Sikorski <[EMAIL PROTECTED]> wrote:
""
Sorry, it should be "".
BTW: omit-tag is never needed on tal:block, and it's redundant with
replace.
--
regards, Kornel
___
PHPTAL mailing list
PHPTAL@lists.motion-twin
2008/11/7 Krzysztof Sikorski <[EMAIL PROTECTED]>:
> ""
Sorry, it should be "".
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal
2008/11/7 Zbyněk Nevrlý <[EMAIL PROTECTED]>:
> Hi,
> I am using PHPTAL for seperate business logic from presentation. So there
> are controllers, model classes and views (HTML templates). Problem is there
> views/*.html are accessible from direct calling through URL (I need to have
> views in publi
Hi,
I am using PHPTAL for seperate business logic from presentation. So there
are controllers, model classes and views (HTML templates). Problem is there
views/*.html are accessible from direct calling through URL (I need to have
views in public_html for Javascript and Ajax dependencies). Is there