Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $servername = getenv("HTTP_HOST");
- if($servername == "localhost") {
- JConfig::host = 'localhost';
- JConfig::user = 'root';
- JConfig::password = 'pass';
- JConfig::db = 'myproject';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement