projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added sqimap_mailbox_close() and implemented it for all sqimap_mailbox_select()
[squirrelmail.git]
/
index.php
diff --git
a/index.php
b/index.php
index 45e3f8370d272e1445cc4de96682ced8866974ce..2e5cde837e0ebdde689db7fe57fbc1b8b58748b0 100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-1,8
+1,7
@@
<?php
<?php
- $headers = getallheaders();
- $path = substr($PHP_SELF, 0, strrpos($PHP_SELF, '/'));
- $location = $headers["Host"] . $path;
+ include "functions/strings.php";
- header("Location: http://$location/src/login.php\n\n");
+ $location = get_location();
+ header("Location: $location/src/login.php\n\n");
exit();
?>
exit();
?>