Talk:Moving sensitive files outside the web root

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
(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:
 
 
/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...
 

Revision as of 02:55, 25 September 2010

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox