lib/zena.rb in zena-1.2.5 vs lib/zena.rb in zena-1.2.6
- old
+ new
@@ -19,9 +19,11 @@
s && !(`which #{e} || echo 'no #{e}'` =~ /^no #{e}/)
end
end
ASSET_PORT = Bricks.raw_config['asset_port'].to_i
+ LOCAL_IPS = ((Bricks.raw_config['local_ips'] || '').split(',').map(&:strip) + %w{127.0.0.1 ::1}).uniq
+
ENABLE_LATEX = true && has_executable('pdflatex') # enable LateX post-rendering
ENABLE_FOP = true && has_executable('fop', 'xsltproc') # enable xsl-fo post-rendering
ENABLE_MATH = true && has_executable('latex', 'dvips', 'convert', 'gs')