Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //DB SETTINGS
- $DBSERVER = "127.0.0.1";
- $DBUSER = "root";
- $DBPASS = "";
- $DBNAME = "coin";
- //FORCE SSL
- //1 for on. 0 for off
- $FORCE_SSL = "0";
- //-------------FUNCTIONS-----------------
- //FORCE SSL
- if ($FORCE_SSL == 1) {
- if($_SERVER["HTTPS"] != "on")
- {
- header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
- exit();
- } }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment