Bug #21194 » 12129_v2.diff
typo3/mod/tools/em/class.em_index.php (working copy) | ||
---|---|---|
'" onclick="document.location.href=\'' . t3lib_div::linkThisScript(array('l10n'=>'update')) .
|
||
'\'" />';
|
||
// as this page loads dynamically, quit output buffering caused by ob_gzhandler
|
||
$this->quitOutputBuffering();
|
||
if(t3lib_div::_GET('l10n') == 'check') {
|
||
$loadedExtensions = array_keys($TYPO3_LOADED_EXT);
|
||
$loadedExtensions = array_diff($loadedExtensions,array('_CACHEFILE'));
|
||
... | ... | |
$content = $this->doc->startPage('Extension Manager');
|
||
$content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$contentParts=explode('###CONTENT###',$content);
|
||
ob_end_flush();
|
||
echo $contentParts[0].$this->content;
|
||
$this->doPrintContent = FALSE;
|
||
flush();
|
||
echo '
|
||
<br />
|
||
... | ... | |
$content = $this->doc->startPage('Extension Manager');
|
||
$content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$contentParts=explode('###CONTENT###',$content);
|
||
ob_end_flush();
|
||
echo $contentParts[0].$this->content;
|
||
$this->doPrintContent = FALSE;
|
||
flush();
|
||
echo ('
|
||
<br />
|
||
... | ... | |
return $content . '</table><br />';
|
||
}
|
||
|
||
/**
|
||
* Quit output buffering started by ob_gzhandler (if $TYPO3_CONF_VARS[BE][compressionLevel] was set)
|
||
*
|
||
* @return void
|
||
*/
|
||
private function quitOutputBuffering() {
|
||
while (ob_get_level()) {
|
||
ob_end_clean();
|
||
}
|
||
header('Content-Encoding: None', TRUE);
|
||
}
|
||
}
|
||