Remove "?>" from the end of pure-PHP files to prevent "HEADERS ALREADY SENT"
This commit is contained in:
paul.baranowski 2011-02-22 18:22:31 +01:00
parent b44de03c71
commit 15153727c1
64 changed files with 113 additions and 194 deletions

View file

@ -83,7 +83,7 @@ class ApiController extends Zend_Controller_Action
//header("Content-Type: $mtype");
*/
$ext = pathinfo($filename, PATHINFO_EXTENSION);
if ($ext == "ogg")
header("Content-Type: audio/ogg");
@ -212,4 +212,3 @@ class ApiController extends Zend_Controller_Action
}
}
?>