Version 5.0.0 beta 6
This commit is contained in:
1 parent
57d9db6ce2
commit
fa2a720105
115 files changed
+1823
-1147
No files matched your search
@@ -1119,7 +1119,7 @@ class Output
|
||||
$queryLog = Db::i()->log;
|
||||
if (QUERY_LOG)
|
||||
{
|
||||
if ( defined('QUERY_LOG_TO_PATH') )
|
||||
if ( defined('QUERY_LOG_TO_PATH') or defined('QUERY_LOG_TO_SCREEN') )
|
||||
{
|
||||
$queryLogHtml = SystemOutput::generateDbLogHtml( $queryLog );
|
||||
|
||||
@@ -1127,6 +1127,13 @@ class Output
|
||||
{
|
||||
@ob_end_clean();
|
||||
@ob_start();
|
||||
|
||||
/* Rest of our HTTP headers */
|
||||
foreach ( $httpHeaders as $key => $header )
|
||||
{
|
||||
$this->sendHeader( $key . ': ' . $header );
|
||||
}
|
||||
|
||||
print $queryLogHtml;
|
||||
exit();
|
||||
}
|
||||
@@ -1589,7 +1596,7 @@ class Output
|
||||
}
|
||||
|
||||
|
||||
if( isset( $this->sidebar['widgetareas'] ) and count( $this->sidebar['widgetareas'] ) )
|
||||
if( isset( $this->sidebar['widgetareas']['sidebar'] ) and count( $this->sidebar['widgetareas']['sidebar'] ) )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user