* @access private
*/
function sendRawRedirect ($url) {
+ // Clear output buffer
+ clearOutputBuffer();
+
+ // Clear own output buffer
+ $GLOBALS['output'] = '';
+
+ // To make redirects working (no content type), output mode must be raw
+ setOutputMode(-1);
+
// Send helping header
setHttpStatus('302 Found');