Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (file_exists("./wp-config.php")){include("./wp-config.php");}
- elseif (file_exists("../wp-config.php")){include("../wp-config.php");}
- elseif (file_exists("../../wp-config.php")){include("../../wp-config.php");}
- elseif (file_exists("../../../wp-config.php")){include("../../../wp-config.php");}
- elseif (file_exists("../../../../wp-config.php")){include("../../../../wp-config.php");}
- elseif (file_exists("../../../../../wp-config.php")){include("../../../../../wp-config.php");}
- elseif (file_exists("../../../../../../wp-config.php")){include("../../../../../../wp-config.php");}
- elseif (file_exists("../../../../../../../wp-config.php")){include("../../../../../../../wp-config.php");}
- elseif (file_exists("../../../../../../../../wp-config.php")){include("../../../../../../../../wp-config.php");}
- $username=DB_USER;
- $password=DB_PASSWORD;
- $database=DB_NAME;
- $host=DB_HOST;
- //print "u:$username, p:$password, d:$database";
- ?>
Add Comment
Please, Sign In to add comment