We created the Railo Extension famousquotesinstaller.zip
, which we now have on our local computer. How can we add and share the extension within Railo Server? This can be achieved by using the Extension Provider system. This is a system unique to Railo Server, where you can easily share extensions with other Railo Server users.
We only need to create one CFC file, which will be serving our extensions for us, and provides some details about itself.
1. At the root of our
<Railo Install Directory>/webroot2/
folder, create a file namedExtensionProvider.cfc
, with the following content:<cfcomponent output="no"> <cffunction name="getInfo" access="remote" returntype="struct" output="no"> <cfset var info = { title="Railo book extensions" , description="Providing you with the best Extensions you can find!" , image="http://site2.local:8888/railoBookExtensions.png" , url="http://site2.local/" , mode="develop" } /> <cfreturn...