submitted a patch from Andreas Dahl to make folder deleting work with
[squirrelmail.git] / index.php
index b482a801ff3a9b57b5cd9627d8cbde18b641c26c..2e5cde837e0ebdde689db7fe57fbc1b8b58748b0 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,3 +1,7 @@
-<?
-   header("Location: src/login.php");
+<?php
+   include "functions/strings.php";
+
+   $location = get_location();
+   header("Location: $location/src/login.php\n\n");
+   exit();
 ?>