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:

Insert "options[:stream] = false" at line 66:

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

Insert "require 'zip/zip'" at line 4:

require 'parsedate'
require 'zip/zip'

class WikiController < ApplicationController


Post a Comment

<< Home