Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

avoid using include_php and php

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
feuervogel
Smarty Rookie


Joined: 17 Aug 2004
Posts: 6

PostPosted: Tue Aug 17, 2004 10:59 am    Post subject: avoid using include_php and php Reply with quote

hi!

i am a fan of smarty and never had problems with it. but now there is a problem. i want to use smarty in a commercial project, and my clients get ftp-access to the smarty-templates-dir, so they don't see any php but can modify their templates. but i don't want them to use php. there are 2 things i have to delete:

the function include_php, but therefore i only have to delete the core.smarty_include_php.php, don't i?

and the possibilty to use php with {php}echo "hello world";{/php}. is there a way "disable" that function? haven't found it...

thanks for help!
Back to top
View user's profile Send private message
feuervogel
Smarty Rookie


Joined: 17 Aug 2004
Posts: 6

PostPosted: Tue Aug 17, 2004 11:28 am    Post subject: Reply with quote

got it:

http://smarty.php.net/manual/en/variable.security.php
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins 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