MantisBT: master 4afaf95f

Author Committer Branch Timestamp Parent
Julian Fitzell master 2002-09-21 18:09 master 2c3a6586
Changeset
  • print_api.php
    (print_header_redirect): added a new paramter $p_die, which tells the function whether to die after printing the headers

I'm half wondering whether a function in the print_api should every die since all it should be doing is printing. We may want to have a helper_redirect() or something that calls print_header_redirect() and then dies.

This change is being implemented mostly to facilitate emailing and stuff that may take a long time to process. We can pass false to print_header_redirect(), turn of output buffering, output something to make sure the headers are sent, and then carry on processing. We may need to turn off timeouts, etc... see: http://www.php.net/manual/en/features.connection-handling.php for more information.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1526 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - core/print_api.php Diff File