From 75cb125201a84a160a10759ff8572414e0cbd147 Mon Sep 17 00:00:00 2001 From: Axel ROGER Date: Fri, 8 Feb 2013 14:29:51 +0000 Subject: [PATCH] Correction bug qui empechait la suppression des prefs squirrelmail --- squirrelmail/class/m_squirrelmail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squirrelmail/class/m_squirrelmail.php b/squirrelmail/class/m_squirrelmail.php index 5259e20c..7013881d 100644 --- a/squirrelmail/class/m_squirrelmail.php +++ b/squirrelmail/class/m_squirrelmail.php @@ -80,8 +80,8 @@ class m_squirrelmail { "$fullmail2.abook", "$fullmail2.pref"); - foreach ( $todel as $t ) { - if (file_exists($t) ) { + foreach ( $todel as $t ) { + if (file_exists("/var/lib/squirrelmail/data/$t") ) { @unlink("/var/lib/squirrelmail/data/$t"); } }