Current Path : /storage/v11800/weinfluence-new/public_html/wp-content/plugins/fluentform/boot/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/weinfluence-new/public_html/wp-content/plugins/fluentform/boot/globals_dev.php |
<?php
/**
* Enable Query Log
*/
if (!function_exists('fluentform_eql')) {
function fluentform_eql()
{
defined('SAVEQUERIES') || define('SAVEQUERIES', true);
}
}
/**
* Get Query Log
*/
if (!function_exists('fluentform_gql')) {
function fluentform_gql()
{
$result = [];
foreach ((array) $GLOBALS['wpdb']->queries as $key => $query) {
$result[++$key] = array_combine([
'query', 'execution_time',
], array_slice($query, 0, 2));
}
return $result;
}
}