HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-59-generic #61-Ubuntu SMP PREEMPT_DYNAMIC Fri Apr 11 23:16:11 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /opt/wpsites/datainsightnow.com/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;
    }
}