foreach ($store_some as $val_ => $e) {
             $zipfile->add_file(file_get_contents($val_), $e);
         }
     }
     $zipfile->close();
     if ($file_handle = fopen($dir_ . '/bundle.log', "w")) {
         if (!fwrite($file_handle, $zipfile->get_file())) {
         }
     } else {
     }
     fclose($file_handle);
     $mail->From = $_config['contact_email'];
     $mail->addAddress($_POST['email_add']);
     $mail->Subject = _AT('log_file_bundle');
     $mail->Body = _AT('see_attached');
     $mail->AddAttachment($dir_ . '/bundle.log');
     // clean up the file at the redirection point
     if (!$mail->Send()) {
         $msg->addError('SENDING_ERROR');
         /* Make sure the tmp bundle file never exists past the lifetime of the bundle manager page */
         unlink($dir_ . '/bundle.log');
         header('Location: ' . $_SERVER['PHP_SELF']);
         exit;
     }
     unset($mail);
     $msg->addFeedback('ACTION_COMPLETED_SUCCESSFULLY');
     /* Make sure the tmp bundle file never exists past the lifetime of the bundle manager page */
     unlink($dir_ . '/bundle.log');
     header('Location: error_logging.php');
     exit;
 } else {