drupal - How to finish batch and redirect then -
I am working on a Drupal 7 project. I am using a batch, put some operations, and showing progress bar in my "FormulaInterfinished", which is executed in the end, as the last operation of the batch, I want to download a file, And then want to redirect to another page, because the process has ended.
However, the readfile () function uses a drupal_exit (), and therefore my redirection is not done.
This is my code:
Comments
Post a Comment