info show types

This commit is contained in:
Shish 2020-02-23 18:38:23 +00:00
parent b5e9daeab5
commit 174b87d0c4
2 changed files with 3 additions and 1 deletions

View file

@ -497,7 +497,7 @@ abstract class DataHandlerExtension extends Extension
{
$arr = [];
foreach (getSubclassesOf("DataHandlerExtension") as $handler) {
$arr = array_merge($arr, $handler->SUPPORTED_EXT);
$arr = array_merge($arr, (new $handler())->SUPPORTED_EXT);
}
return $arr;
}

View file

@ -90,6 +90,8 @@ class ET extends Extension
}
$info['sys_extensions'] = join(', ', $els);
$info['handled_extensions'] = join(', ', DataHandlerExtension::get_all_supported_exts());
//$cfs = array();
//foreach($database->get_all("SELECT name, value FROM config") as $pair) {
// $cfs[] = $pair['name']."=".$pair['value'];