# fluent-support/trunk/boot/globals_dev.php

Fluent Support – Helpdesk &amp; Customer Support Ticket System, version trunk. 30 lines.

- Page: https://pluginprobe.com/plugins/fluent-support/trunk/code/boot/globals_dev.php
- Raw: https://pluginprobe.com/plugins/fluent-support/trunk/raw/boot/globals_dev.php
- Modified: 2026-02-05T14:04:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-support/trunk/code/boot/globals_dev.php#L10-L20`.

```php
<?php

if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Enable Query Log
 */
if (!function_exists('fluent_support_eqL')) {
    function fluent_support_eqL()
    {
        defined('SAVEQUERIES') || define('SAVEQUERIES', true);
    }
}

/**
 * Get Query Log
 */
if (!function_exists('fluent_support_gql')) {
    function fluent_support_gql()
    {
        $result = [];
        foreach ((array)$GLOBALS['wpdb']->queries as $key => $query) {
            $result[++$key] = array_combine([
                'query', 'execution_time'
            ], array_slice($query, 0, 2));
        }
        return $result;
    }
}

```
