PluginProbe
Fluent Support – Helpdesk & Customer Support Ticket System / 2.3.1
Fluent Support – Helpdesk & Customer Support Ticket System v2.3.1
2.3.2 2.3.1 2.3.0 2.2.1 2.2.0 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.4.0 1.4.1 1.4.2 1.4.5 1.4.6 1.4.7 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 All 67 releases
fluent-support / boot / globals_dev.php

globals_dev.php in Fluent Support – Helpdesk & Customer Support Ticket System 2.3.1, at boot/globals_dev.php

30 lines 607 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) exit;
4
5 /**
6 * Enable Query Log
7 */
8 if (!function_exists('fluent_support_eqL')) {
9 function fluent_support_eqL()
10 {
11 defined('SAVEQUERIES') || define('SAVEQUERIES', true);
12 }
13 }
14
15 /**
16 * Get Query Log
17 */
18 if (!function_exists('fluent_support_gql')) {
19 function fluent_support_gql()
20 {
21 $result = [];
22 foreach ((array)$GLOBALS['wpdb']->queries as $key => $query) {
23 $result[++$key] = array_combine([
24 'query', 'execution_time'
25 ], array_slice($query, 0, 2));
26 }
27 return $result;
28 }
29 }
30