.htaccess in the template dir:
Code:
<files ~ "\.tpl$"> order deny,allow allow from none deny from all </files>

![]() |
| | Thread Tools | Display Modes |
| |||
|
I was browsing through my list of 404 errors and found that some people were reading my template files directly. While there's nothing serious in it, it's not something I want to give up. .htaccess in the template dir: Code: <files ~ "\.tpl$"> order deny,allow allow from none deny from all </files> |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| php in .tpl files | boardsource | Questions and Comments | 3 | 03-17-2007 09:18 PM |
| .tpl files & smarty codes explained | 3dKiller | Questions and Comments | 0 | 04-11-2006 02:52 PM |
| new template tips & questions | Book-Bee | Questions and Comments | 9 | 04-05-2006 10:25 AM |