Tuesday, January 13, 2009

Instiki 0.10.2 Export Markup patch

If anyone is using Instiki 0.10.2 and wants the Export Markup (Textile) link to work, make the following changes to the source code:

/app/controllers/application.rb
Insert "options[:stream] = false" at line 66:

options[:type] ||= (FILE_TYPES[File.extname(file)] || 'application/octet-stream')
options[:stream] = false
super(file, options)


/app/controllers/wiki_controller.rb
Insert "require 'zip/zip'" at line 4:

require 'parsedate'
require 'zip/zip'

class WikiController < ApplicationController

0 Comments:

Post a Comment

<< Home