diff --git a/ext/et/main.php b/ext/et/main.php index 70dc19a4..02ee8d6a 100644 --- a/ext/et/main.php +++ b/ext/et/main.php @@ -27,6 +27,7 @@ class ET extends Extension { private function build_data_form() { global $database; global $config; + global $_event_listeners; // yay for using secret globals \o/ $data = ""; @@ -55,6 +56,12 @@ class ET extends Extension { $data .= "Users: ".($database->db->GetOne("SELECT COUNT(*) FROM users"))."\n"; $data .= "Tags: ".($database->db->GetOne("SELECT COUNT(*) FROM tags"))."\n"; + $els = array(); + foreach($_event_listeners as $el) { + $els[] = get_class($el); + } + $data .= "Extensions: ".join(", ", $els)."\n"; + $html = "