* zin: skip to send debug info with non-zin ajax request.
This commit is contained in:
@@ -146,7 +146,7 @@ class wg
|
||||
|
||||
global $app, $config;
|
||||
$zinDebug = null;
|
||||
if($config->debug)
|
||||
if($config->debug && (!isAjaxRequest() || isAjaxRequest('zin')))
|
||||
{
|
||||
$zinDebug = data('zinDebug');
|
||||
if(is_array($zinDebug))
|
||||
|
||||
Reference in New Issue
Block a user