X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Ffile_prefs.php;h=23b4fb6e592303fcac349e8b38c744a7bebdd37e;hp=ef117760a7e191c8ce3d8d88069b21d01c253213;hb=82d6de254a3af0b73d7cbd39fd941bf8a954a87a;hpb=d4e46166df04792c6b939356ea5dfda8e47bba7b diff --git a/functions/file_prefs.php b/functions/file_prefs.php index ef117760..23b4fb6e 100644 --- a/functions/file_prefs.php +++ b/functions/file_prefs.php @@ -5,7 +5,7 @@ * * This contains functions for manipulating user preferences in files * - * @copyright © 1999-2009 The SquirrelMail Project Team + * @copyright 1999-2010 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -258,14 +258,14 @@ function checkForPrefs($data_dir, $username, $filename = '') { ( is_readable($default_pref) && !@copy($default_pref, $filename) ) || !@touch($filename) ) { - $uid = 'httpd'; + $uid = 'that the web server is running as'; if (function_exists('posix_getuid')){ $user_data = posix_getpwuid(posix_getuid()); $uid = $user_data['name']; } $errTitle = _("Could not create initial preference file!"); $errString = $errTitle . "\n" . - sprintf( _("%s should be writable by user %s."), $data_dir, $uid ) . "\n" . + sprintf( _("%s should be writable by the user %s."), $data_dir, $uid ) . "\n" . _("Please contact your system administrator and report this error.") ; logout_error( $errString, $errTitle ); exit;