public static function type_file_url($type, $file) { if (MPU::extension_type_exists($type)) { return MPU::extension_type_file_url($type, $file); } else { if (MPU::core_type_exists($type)) { return MPU::core_type_file_url($type, $file); } } }