|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ciqala Smarty Rookie
Joined: 28 Apr 2003 Posts: 9
|
|
Back to top |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
Posted: Tue May 13, 2003 11:05 am Post subject: |
|
|
I always make a libraries folder and put Smarty and ADOdb in seperate subfolders and distribute it along with the package its needed for. It helps to have a good layed out directory structure when programming large projects. _________________ "Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live." -Peter Cochrane |
|
Back to top |
|
ciqala Smarty Rookie
Joined: 28 Apr 2003 Posts: 9
|
|
Back to top |
|
ilir Smarty Rookie
Joined: 20 Apr 2003 Posts: 16 Location: NYC
|
Posted: Tue May 13, 2003 2:31 pm Post subject: |
|
|
Ciqala, it is highly recommended to to put the 'configs', 'templates', and 'templates_c' outside the web tree. In other words, these directories shouldn't be accessible via the web because they may contain important info (such as DB passwords) or you simply don't want your .tpl files exposed!
If you plan to use the caching capabilities, chmod 'templates_c' to 777 (while outside the web tree).
As far as automating this whole outside-the-web-tree idea, I have no clue how you would do that. I hope someone here can help you. I am interested in the same thing because I am thinking of selling a script of mine
Ilir. _________________ The real problem is not whether machines think but whether men do.
- B. F. Skinner |
|
Back to top |
|
sulleleven Smarty Rookie
Joined: 26 Jan 2004 Posts: 9
|
Posted: Mon Jan 26, 2004 6:34 pm Post subject: |
|
|
I am now wondering how best to include smarty with a script I am building. Can someone direct me to details, especially the questions here regarding chowning by users who do not have proper access to do this.
thanks. |
|
Back to top |
|
|
|
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
|