Re: [SMARTY-DEV] setting up directories
| From: | Dennis Gearon | Date: | Mon, 18 Aug 2003 15:16:54 +0000 |
| Subject: | Re: [SMARTY-DEV] setting up directories | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1765@lists.php.net to get a copy of this message | ||
The example shows:
/web/www.mydomain.com/smarty/guestbook/templates/
/web/www.mydomain.com/smarty/guestbook/templates_c/
/web/www.mydomain.com/smarty/guestbook/configs/
/web/www.mydomain.com/smarty/guestbook/cache/
/web/www.mydomain.com/docs/guestbook/index.php
looks to me like it's 'off' the document root, not 'out of' the document path.
Monte Ohrt wrote:
hmm, I suppose "off the document root" could be interpreted both ways. I'll change that wording. The examples show the files outside of docroot anyways :) On Mon, 2003-08-18 at 09:57, messju mohr wrote:On Mon, Aug 18, 2003 at 07:57:05AM -0700, Dennis Gearon wrote:http://smarty.php.net/manual/en/installing.smarty.basic.phpIt says: "The Smarty directories are only accessed by the Smarty library and never accessed directly by the web browser. Therefore to avoid any security concerns, it is recommended to place these directories in a directory <em>off</em> the document root." to me that means <em>not</em> under the document root.Monte Ohrt wrote:Where does the documentation say that? Ideally they should be outside the docroot. On Mon, 2003-08-18 at 09:47, Dennis Gearon wrote:-- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpThe documents on the smarty web page say to put the: 'templates' 'templates_c' 'cache' 'config' In the document root. Are there any security concerns here?