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"); } }