Difference between revisions of "Moving sensitive files outside the web root"

From Joomla! Documentation

(Small bug with the path)
(Santograz was wrong that has always worked perfectly for me in the last 10 years.)
Line 1: Line 1:
Hi there,
on my system, but I think on all, if you use:
require( dirname( __FILE__ ) . '/../design2-files/joomla.conf' );
you obtain:
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...

Revision as of 01:55, 25 September 2010