From 8105d00ffd316911ad377816d972c89691ee33a9 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Thu, 6 Jan 2000 19:51:42 +0000 Subject: [PATCH] fixed bug in color stuff git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@116 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/prefs.php | 3 +-- src/webmail.php | 8 +++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/functions/prefs.php b/functions/prefs.php index 79cee53e..f66f8637 100644 --- a/functions/prefs.php +++ b/functions/prefs.php @@ -69,9 +69,8 @@ /** This checks if there is a pref file, if there isn't, it will create it. **/ function checkForPrefs($data_dir, $username) { $filename = "$data_dir$username.pref"; - echo "$filename"; if (!file_exists($filename)) { - if (!copy("$data_dir$default_pref", $filename)) { + if (!copy("$data_dir" . "default_pref", $filename)) { echo "Error opening $filename"; exit; } diff --git a/src/webmail.php b/src/webmail.php index 54eb524c..ed6df33c 100644 --- a/src/webmail.php +++ b/src/webmail.php @@ -16,14 +16,13 @@ setcookie("logged_in", 1, 0, "/"); ?> - <? include ("../config/config.php"); include ("../functions/prefs.php"); + echo "<TITLE>"; echo "$org_title"; -?> - - + echo ""; + echo ""; /** There are three ways to call webmail.php @@ -37,7 +36,6 @@ This was done to create a pure HTML way of refreshing the folder list since we would like to use as little Javascript as possible. **/ -