Created
January 10, 2014 14:13
-
-
Save anytizer/8353056 to your computer and use it in GitHub Desktop.
Accessing PHP configurations in different ways
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
Absolute path | |
'/home/USER/public_html/config.php' | |
Dynamic path | |
dirname(__FILE__).'/config.php' | |
Configured path | |
$path.'/config.php' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment