HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
Disabled: NONE
Upload Files
File: /var/www/abc-ok/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;
    }
}