Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where to change the "config.php" location?
#3
Change your config.php filename, then put this as config.php:

<?
if (realpath(__FILE__) == realpath($_SERVER['SCRIPT_FILENAME'])) {
    exit('Denied.');
}

@include('yournewconfigname.php');
?>

Then simply update yournewconfigname.php with your new config name. No core edits have to occur then and your filename has been changed without hassle.


Messages In This Thread
RE: Where to change the "config.php" location? - by Oxygen - 2013-12-16, 11:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)