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

Fluent Support – Helpdesk &amp; Customer Support Ticket System, version 1.4.0. 28 lines.

- Page: https://pluginprobe.com/plugins/fluent-support/1.4.0/code/boot/globals_dev.php
- Raw: https://pluginprobe.com/plugins/fluent-support/1.4.0/raw/boot/globals_dev.php
- Modified: 2021-11-12T14:57:38+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/1.4.0/code/boot/globals_dev.php#L10-L20`.

```php
<?php

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

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

```
