Railo 3.1.0.012 Mango 1.3.1 Add-ons function

To use the Add-ons function of Mango 1.3.1 with Railo 3.1.0.012. You need to modify the files updater.cfc

The file is located YourBlog/components/updater.cfc

In the function downloadPlugin you need to change around the line 214

Original Line

<cffile action="rename"
source="#local.pluginDir#"
destination="#userPluginsDir##local.plugin#" />

New line

<cfdirectory action="rename"
newdirectory="#userPluginsDir##local.plugin#"
directory="#local.pluginDir#">

I tested over Windows Vista 32 bits and Linux Centos 5.2
I already submited as a "bug" to mango forum but I wanted more people aware of it. | View count: 1102
del.icio.us Digg Facebook Yahoo! My Web Google Bookmarks DZone
  1. Adam Tuttle

    #1 by Adam Tuttle - May 12, 2009 at 4:12 PM

    Pierre, have you tested your change on Adobe ColdFusion? If it works for both, I can create and submit a patch, which will make it much easier for Laura to include it in the core, and likely to make it in quicker.
  2. Pierre-Olivier

    #2 by Pierre-Olivier - May 12, 2009 at 7:03 PM

    Adam, I tested with CF8 with Vista also and it's working fine.
  3. Adam Tuttle

    #3 by Adam Tuttle - May 12, 2009 at 7:06 PM

    Great, I'll see if I can get a patch for it to Laura tonight!
(will not be published)
Leave this field empty: