Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Index of /xampp
  2.  
  3. [ICO] Name Last modified Size Description
  4. [PARENTDIR] Parent Directory -
  5. Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.5.30 Server at localhost Port 80
  6.  
  7. <?php
  8. if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS']))
  9. {
  10. $uri = 'https://';
  11. }
  12. else
  13. {
  14. $uri = 'http://';
  15. }
  16. $uri .= $_SERVER['HTTP_HOST'];
  17. header('Location: '.$uri.'/dashboard/');
  18. exit;
  19. ?>
  20.  
  21. Something is wrong with the XAMPP installation :-(
  22.  
  23. header('Location: '.$uri.'/dashboard/');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement