From 4623cba99c478b41daba512df18dc4b10759ad81 Mon Sep 17 00:00:00 2001 From: cigamit Date: Sun, 3 Aug 2003 23:49:52 +0000 Subject: [PATCH] Stop error messages just in case CHMOD is disabled by PHP git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5494 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/file_prefs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/file_prefs.php b/functions/file_prefs.php index 5ed99124..f21e89f7 100644 --- a/functions/file_prefs.php +++ b/functions/file_prefs.php @@ -131,7 +131,7 @@ function savePrefValues($data_dir, $username) { exit; } @unlink($filename . '.tmp'); - chmod($filename, 0600); + @chmod($filename, 0600); sqsession_register($prefs_cache , 'prefs_cache'); } @@ -236,7 +236,7 @@ function setSig($data_dir, $username, $number, $value) { exit; } @unlink($filename . '.tmp'); - chmod($filename, 0600); + @chmod($filename, 0600); } -- 2.25.1