Changeset 3131
- Timestamp:
- 11/20/06 21:49:37 (7 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.2/amp_conf/htdocs/admin/functions.inc.php
r3089 r3131 2088 2088 print "[DEBUG-$section] ($level) $message\n"; 2089 2089 } 2090 2091 /** Abort all output, and redirect the browser's location 2092 * @param string The url to go to 2093 * @param bool If execution should stop after the function 2094 */ 2095 function redirect($url, $stop_processing = true) { 2096 ob_end_clean(); 2097 header('Location: '.$url); 2098 if ($stop_processing) exit; 2099 } 2100 2090 2101 ?> freepbx/branches/2.2/amp_conf/htdocs/admin/header.php
r2887 r3131 35 35 } 36 36 37 38 // start output buffering 39 ob_start(); 37 40 38 41 //get the current file name freepbx/branches/2.2/amp_conf/htdocs/admin/page.modules.php
r3083 r3131 203 203 204 204 echo "<div id=\"moduleprogress\">"; 205 206 // stop output buffering, and send output 207 @ ob_end_flush(); 208 205 209 flush(); 206 210 foreach ($moduleaction as $modulename => $action) {
