Actions

Talk

Moving sensitive files outside the web root

From Joomla! Documentation

Revision as of 04:39, 20 May 2010 by Santograz (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hi there, on my system, but I think on all, if you use:

require( dirname( __FILE__ ) . '/../design2-files/joomla.conf' );


you obtain:

/home/users/myuser/mydomain/public_html/../design2-files/joomla.conf

I mean, if you only add two strings, you don't obtain an "up" redirection. "../" can only be used at the beginning of the string...