Guest User

index.php

a guest
Dec 5th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. <?php
  2. if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
  3. $uri = 'https://';
  4. } else {
  5. $uri = 'http://';
  6. }
  7. $uri .= $_SERVER['HTTP_HOST'];
  8. header('Location: '.$uri.'/xampp/');
  9. exit;
  10. ?>
  11. Something is wrong with the XAMPP installation :-(
Add Comment
Please, Sign In to add comment