~marcoceppi/apturlredirector/php5oop

« back to all changes in this revision

Viewing changes to apps/package/process.php

  • Committer: Marco Ceppi
  • Date: 2011-02-03 05:25:36 UTC
  • Revision ID: marco.ceppi@seacrow.org-20110203052536-7ltesdyyki3359rc
Added parameter and moved code to show "Please wait" page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        
57
57
        $template->display('switch.tpl');
58
58
}
59
 
else
 
59
elseif( !$go )
60
60
{
61
 
        header("HTTP/1.0 200 OK");
62
 
        // If this command fails - for whatever reason, dump launching page
63
 
        header("Location: apt:$packages");
64
61
        //With anyluck no one will see this little launch page
65
62
        
66
63
        $template->assign('JS_FILES', array('launching.js'));
71
68
        
72
69
        $template->display('launching.tpl');
73
70
}
 
71
else
 
72
{
 
73
        header("HTTP/1.0 200 OK");
 
74
        // If this command fails - for whatever reason, dump launching page
 
75
        header("Location: apt:$packages");
 
76
}