From f8cde39329c8d67936dd75d40209400fe82ddaab Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 1 Oct 2007 07:58:43 +0000 Subject: [PATCH] Add fixme/note git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12714 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/prefs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/prefs.php b/functions/prefs.php index 36d7eb23..5b618d56 100644 --- a/functions/prefs.php +++ b/functions/prefs.php @@ -95,6 +95,7 @@ function getHashedDir($username, $dir, $hash_dirs = '') { for ($h = 0; $h < $dir_hash_level; ++$h) { $real_hash_dir .= '/' . $hash_dirs[$h]; if (!@is_dir($real_hash_dir)) { +//FIXME: When safe_mode is turned on, the error suppression below makes debugging safe_mode UID/GID restrictions tricky... for now, I will add a check in configtest if (!@mkdir($real_hash_dir, 0770)) { error_box ( sprintf(_("Error creating directory %s."), $real_hash_dir) . "\n" . _("Could not create hashed directory structure!") . "\n" . -- 2.25.1