admin @ wp_list_categories() WITH current_cat_ancestor

admin

functions.php is the best place to put it, in your theme folder.