Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Ed,
It could also be a timing thing whereby, in 6.0, the information for the doc_type_dir() command doesn't have the doctype data available yet. The order in which ACL files are loaded is critical at document loading. When things settle out, you have all the data available, such as when you use the command line.
Or, as Adrian mentions, there may be something prior to the command that is not quite correct that hoses up the response.
Bob