From a9e6867d754b9308ef13a8cdae638c450b5f3404 Mon Sep 17 00:00:00 2001 From: kink Date: Mon, 10 Feb 2003 15:38:16 +0000 Subject: [PATCH] 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 --- functions/file_prefs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.25.1