X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwebmail.php;h=596a4ccc1f2211483bbe7737013d6d1201ff1e9d;hb=65c3ec94c897fb098598f3843e371020deb2226b;hp=7f225706f8796ae3e9d9ba00f8924a8ed35c9e72;hpb=e60b058761c05d00cc1b46efcc9bf35e56d4a524;p=squirrelmail.git
diff --git a/src/webmail.php b/src/webmail.php
index 7f225706..596a4ccc 100644
--- a/src/webmail.php
+++ b/src/webmail.php
@@ -1,75 +1,109 @@
-
- /**
- ** webmail.php
- **
- ** This simply creates the frames.
- **
- **/
+
-
-
- include ("../config/config.php");
- include ("../functions/prefs.php");
- include ("../functions/imap.php");
+ereg( '(^.*/)[^/]+/[^/]+$', $PHP_SELF, $regs);
+$base_uri = $regs[1];
- // verify that username and password are correct
- $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
-
- include ("../src/load_prefs.php");
-
- echo "";
- echo "$org_title";
- echo "";
- echo "