Created
October 6, 2010 22:25
-
-
Save admataz/614233 to your computer and use it in GitHub Desktop.
override settings file with another inc
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
<? | |
/** | |
* override global config settings with local settings - add to the bottom of the global config file | |
* Server Specfic variables from unversion included file - if it exists | |
*/ | |
$abspath = dirname(__FILE__); | |
if(file_exists($abspath.'/settings.local.php')){ | |
include $abspath.'/settings.local.php'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment