wrong bushido ENV name + do not ask for subdomain during the installation

This commit is contained in:
did 2011-04-06 11:44:52 +02:00
parent 2cba14afec
commit 917208812b
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
= f.inputs do
= f.input :name, :required => true
- if manage_subdomain?
- if multi_sites?
= f.input :subdomain, :required => true
%li{ :class => 'string optional', :id => 'zipfile_input' }

View File

@ -19,7 +19,7 @@ module Locomotive
def bushido?
self.config.hosting == :bushido ||
(self.config.hosting == :auto && ENV['HOSTING_PLATFORM'] == 'bushido')
(self.config.hosting == :auto && ENV['APP_TLD'] == 'bushi.do')
end
def enable_bushido