Created
August 10, 2012 11:00
-
-
Save electricputty/3313407 to your computer and use it in GitHub Desktop.
Moving your config and database out of the system folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.php | |
=========== | |
<?php | |
include($_SERVER['DOCUMENT_ROOT'].'/assets/config/config.php'); | |
?> | |
database.php | |
============ | |
<?php | |
include($_SERVER['DOCUMENT_ROOT'].'/assets/config/database.php'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment