Welcome Guest, Not a member yet? Register   Sign In
Moving config.php outside webroot
#1

[eluser]Mark Unwin[/eluser]
Best practise usually dictates moving any sensitive (usually config) files outside the web root.

Is there a way to relocate the system/application/config/config.php file ?

Apologies if this has been asked previously, but my initial searches returned no useful info.
#2

[eluser]Christopher Clarke[/eluser]
You can move the entire application and system directory outside the web root, and specify the location in index.php. You'll want to leave index.php (and .htaccess) in the web root.

You'll want to change the values of the $system_folder and $application_folder variable.
#3

[eluser]Mark Unwin[/eluser]
Thanks, I'll take a look.
[said with newbie hat on]




Theme © iAndrew 2016 - Forum software by © MyBB