lib/spiderfw/config/options/spider.rb in spiderfw-0.6.5 vs lib/spiderfw/config/options/spider.rb in spiderfw-0.6.6
- old
+ new
@@ -2,10 +2,12 @@
config_option('runmode', "production, test, devel", :default => 'devel', :choices => ['production', 'test', 'devel'],
:action => Proc.new{ |option| Spider.runmode = option unless Spider.runmode || $SPIDER_RUNMODE}
)
+ config_option('apps', _('Apps to load'), :type => Array, :yaml_style => :inline)
+
# Storage
# config_option('storage.type', '')
# config_option('storage.url', '')
# Web server
@@ -35,10 +37,10 @@
config_option 'static_content.mode', _("Mode to use for serving static files"), :type => String,
:choices => [nil, 'x-sendfile', 'x-accel-redirect', 'published'], :default => nil
config_option 'static_content.auto_publish', _("Automatically publish content to the home's public folder"),
:type => Spider::DataTypes::Bool, :default => false
# Client
- config_option 'client.text_editor', _("The text editor installed on the client")
+ config_option 'client.text_editor', _("The text editor installed on the client"), :default => 'textmate'
# Templates
config_option 'template.cache.disable', _("Refresh template cache every time"), :default => false, :type => Spider::DataTypes::Bool
config_option 'template.cache.reload_on_restart', _("Refresh template cache when server restarts"), :default => true,
:type => Spider::DataTypes::Bool