[Nitro] web file directory fixes

Robert Mela rob at robmela.com
Mon Oct 1 17:06:24 EDT 2007


Is it still correct to spam the group with patches, or should I be 
sending them directly to George?

Anyhow, here are some fixes to get WebFile working with forms & Og

Two little things:

replace Nitro::Server.public_root with $nitro_current_application.public_dir
replace WebFile.upload_root with WebFile.upload_dir, since WebFile 
defines upload_dir but not upload_root
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webfile_upload_dir_fix.tar.gz
Type: application/x-gzip
Size: 18218 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20071001/f4a6dcf8/attachment.gz 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rob.vcf
Type: text/x-vcard
Size: 116 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20071001/f4a6dcf8/attachment.vcf 


More information about the Nitro-general mailing list