Skip to content

Commit 2495b3f

Browse files
committed
Fix #104 nested class issue
1 parent 02c72a1 commit 2495b3f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ProcessTracyAdminerRenderer.module.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ public function ___execute() {
2525

2626
function adminneo_instance() {
2727

28-
class CustomAdmin extends \AdminNeo\Admin {}
29-
3028
foreach (glob(__DIR__.'/panels/Adminer/plugins/*.php') as $filename) {
3129
require_once $filename/*NoCompile*/;
3230
}
@@ -66,7 +64,7 @@ class CustomAdmin extends \AdminNeo\Admin {}
6664
]
6765
];
6866

69-
return CustomAdmin::create($config, $plugins);
67+
return \AdminNeo\Admin::create($config, $plugins);
7068
}
7169

7270
require_once __DIR__ . '/panels/Adminer/adminneo.php'/*NoCompile*/;

TracyDebugger.module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static function getModuleInfo() {
2727
'summary' => __('Tracy debugger from Nette with many PW specific custom tools.', __FILE__),
2828
'author' => 'Adrian Jones',
2929
'href' => 'https://processwire.com/talk/forum/58-tracy-debugger/',
30-
'version' => '4.26.79',
30+
'version' => '4.26.80',
3131
'autoload' => 100000, // in PW 3.0.114+ higher numbers are loaded first - we want Tracy first
3232
'singular' => true,
3333
'requires' => 'ProcessWire>=2.7.2, PHP>=5.4.4',

0 commit comments

Comments
 (0)