From: kink Date: Mon, 10 Feb 2003 15:38:16 +0000 (+0000) Subject: Fix "Failed opening default pref" bug, closes #680331, thanks David Walser X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a9e6867d754b9308ef13a8cdae638c450b5f3404;p=squirrelmail.git Fix "Failed opening default pref" bug, closes #680331, thanks David Walser git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4520 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/file_prefs.php b/functions/file_prefs.php index 812853d2..79852012 100644 --- a/functions/file_prefs.php +++ b/functions/file_prefs.php @@ -179,7 +179,7 @@ function checkForPrefs($data_dir, $username, $filename = '') { /* Then, check if the file exists. */ if (!@file_exists($filename) ) { /* First, check the $data_dir for the default preference file. */ - $default_pref = $data_dir . 'default_pref'; + $default_pref = $data_dir . '/default_pref'; /* If it is not there, check the internal data directory. */ if (!@file_exists($default_pref)) {