-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathProcessTracyAdminerRenderer.module.php
More file actions
30 lines (27 loc) · 1.04 KB
/
ProcessTracyAdminerRenderer.module.php
File metadata and controls
30 lines (27 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php namespace ProcessWire;
class ProcessTracyAdminerRenderer extends Process implements Module {
public static function getModuleInfo() {
return array(
'title' => __('Process Tracy Adminer Renderer', __FILE__),
'summary' => __('Adminer renderer for TracyDebugger.', __FILE__),
'author' => 'Adrian Jones',
'href' => 'https://processwire.com/talk/topic/12208-tracy-debugger/',
'version' => '2.0.4',
'autoload' => false,
'singular' => true,
'icon' => 'database',
'requires' => 'ProcessWire>=3.0.0, PHP>=7.1.0, TracyDebugger',
'page' => array(
'name' => 'adminer-renderer',
'parent' => 'setup',
'title' => 'Adminer Renderer',
'status' => 'hidden'
)
);
}
public function ___execute() {
require_once __DIR__ . '/panels/Adminer/adminneo-instance.php';
require_once __DIR__ . '/panels/Adminer/adminneo.php';
exit;
}
}