Created
September 15, 2021 16:19
-
-
Save trycf/8af5fdccf9207b7164962de0ae33c1de to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
engine = getPageContext().getCFMLFactory().getEngine(); | |
bundleContext = engine.getBundleContext(); | |
bundles = bundleContext.getBundles(); | |
for (b in bundles) { | |
writeOutput(b.getSymbolicName() & ":" & b.getVersion() & "<br>"); | |
} | |
//via: https://www.petefreitag.com/item/922.cfm | |
//inspired by: https://github.com/lucee/Lucee/blob/20660279ea7385c12cab4bef9742a8dab482c183/core/src/main/java/lucee/runtime/tag/Admin.java#L3392-L3404 | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment