Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Dedicated server web hosting provided by Guru-host.eu.
Compiled - weird file names?

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
613code
Smarty n00b


Joined: 28 Feb 2010
Posts: 1

PostPosted: Sun Feb 28, 2010 11:50 pm    Post subject: Compiled - weird file names? Reply with quote

Hi,

First time installed Smarty. Working great. Awesome piece of software!
This will save me soooo much time.

Quick question. When a file is compiled, it has a really weird name. For
example, index.tpl will show up as:

%%45^45E^45E480CD%%index.tpl.php

Is there a reason for the leading characters: %%45^45E^45E480CD%% ?

Can I change it so the file is named as index.tpl.php instead?

Let me know,
Thanks!
Back to top
View user's profile Send private message
Lemon Juice
Smarty Pro


Joined: 24 May 2006
Posts: 105

PostPosted: Fri Mar 12, 2010 4:04 pm    Post subject: Reply with quote

I don't know if it can be turned off but I think it's good behaviour because it makes files almost impossible to find and therefore can't be run directly by someone from a web browser. Besides, it's good to be able to set up various software tools to ignore compiled templates by using a %%* mask (like svn, editors, etc.)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP