Portal: Debug mode now logs external keys OQL queries used in forms. Helpful to understand the final query (DM OQL intersect Scope OQL)

SVN:trunk[4743]
This commit is contained in:
Guillaume Lajarige
2017-05-19 08:51:59 +00:00
parent 522108dc69
commit 018d6a98e9
2 changed files with 11 additions and 0 deletions

View File

@@ -50,6 +50,10 @@ $oContex2 = new ContextTag('Portal:' . PORTAL_MODULE_ID);
// Checking if debug param is on
$bDebug = (isset($_REQUEST['debug']) && ($_REQUEST['debug'] === 'true') );
if($bDebug)
{
$oContexDebug = new ContextTag('debug');
}
// Initializing Silex framework
$oKPI = new ExecutionKPI();