Skip to content

Commit

Permalink
Fix double load issue when nette is installed via Composer. Update AC…
Browse files Browse the repository at this point in the history
…E editor.
  • Loading branch information
adrianbj committed May 17, 2022
1 parent 00c80fa commit d736e90
Show file tree
Hide file tree
Showing 20 changed files with 63 additions and 14 deletions.
4 changes: 2 additions & 2 deletions TracyDebugger.module.php
Expand Up @@ -27,7 +27,7 @@ public static function getModuleInfo() {
'summary' => __('Tracy debugger from Nette with many PW specific custom tools.', __FILE__),
'author' => 'Adrian Jones',
'href' => 'https://processwire.com/talk/forum/58-tracy-debugger/',
'version' => '4.23.27',
'version' => '4.23.28',
'autoload' => 100000, // in PW 3.0.114+ higher numbers are loaded first - we want Tracy first
'singular' => true,
'requires' => 'ProcessWire>=2.7.2, PHP>=5.4.4',
Expand Down Expand Up @@ -328,7 +328,7 @@ public function __construct() {
*/
public function init() {

if(class_exists('\Tracy\Debugger') && Debugger::isEnabled()) return;
if(class_exists('\Tracy\Debugger', false) && Debugger::isEnabled()) return;

// load Tracy files and our helper files
if(version_compare(PHP_VERSION, '7.2.0', '>=')) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/ace-editor/ace.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/ext-beautify.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/ace-editor/ext-language_tools.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/ext-modelist.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d736e90

Please sign in to comment.