diff --git a/inc/core.php b/inc/core.php index 86c3c0b..cb2c08c 100644 --- a/inc/core.php +++ b/inc/core.php @@ -700,7 +700,9 @@ function getAllContentFiletypes() $controllers = loadAllContentControllers(); foreach($controllers as $c) { - $types = array_merge($types,(new $c)->getRegisteredExtensions()); + $instance = new $c; + if($instance::ctype=='static') + $types = array_merge($types,(new $instance)->getRegisteredExtensions()); } return $types;