PluginProbe
Fluent Support – Helpdesk & Customer Support Ticket System / 1.4.0
Fluent Support – Helpdesk & Customer Support Ticket System v1.4.0
2.4.0 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 All 68 releases
fluent-support / boot / globals_dev.php

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

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