SB wersja 1.1.3
admin/applications_addon/other/shoutbox/sources/classes/library.php on line 341
/* Parse shouts =D */
foreach ( $shouts as $row )
{
if ( $row['s_id'] <= $last_id )
{
// Adding a break here brokes everything,
// leave continue in place!
continue;
}
$content .= $this->parse_shout( $row );
$new_ids[] = $row['s_id'];
}
admin/sources/classes/output/formats/html/htmlOutput.php linia od 109 do 134. Błędy są w liniach
if ( $this->settings['print_headers'] )
{
if ( isset( $_SERVER['SERVER_PROTOCOL'] ) AND strstr( $_SERVER['SERVER_PROTOCOL'], '/1.0' ) )
{
header("HTTP/1.0 " . $this->_headerCode . ' ' . $this->_headerStatus );
}
else
{
header("HTTP/1.1 " . $this->_headerCode . ' ' . $this->_headerStatus );
}
/* Forcing a download? */
if ( $this->_forceDownload )
{
header( "Content-type: unknown/unknown" );
header( "Content-Disposition: attachment; filename=\"" . IPSText::alphanumericalClean( $this->registry->output->getTitle() ) . ".html\"" );
}
else
{
header( "Content-type: text/html;charset=" . IPS_DOC_CHAR_SET );
}
if ( $this->settings['nocache'] )
{
$expires = ( $this->_headerExpire ) ? gmdate( "D, d M Y H:i:s", time() + $this->_headerExpire ) . " GMT" : gmdate( "D, d M Y H:i:s", time() - 86400 ) . " GMT";
$maxAge = $this->_headerExpire;
$nocache = ( ! $this->_headerExpire ) ? 'no-cache,' : '';
header( "Cache-Control: ". $nocache . "must-revalidate, max-age=" . $maxAge );
header( "Expires: " . $expires );
if ( ! $this->_headerExpire )
{
header( "Pragma: no-cache" );
}
}
}
}