diff options
Diffstat (limited to 'lib/sisu/v5/cgi.rb')
-rw-r--r-- | lib/sisu/v5/cgi.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v5/cgi.rb b/lib/sisu/v5/cgi.rb index 201f028b..da416eed 100644 --- a/lib/sisu/v5/cgi.rb +++ b/lib/sisu/v5/cgi.rb @@ -71,9 +71,9 @@ module SiSU_CGI #% database building doc @webserv=@opt.files[0].to_s.strip end def read - if @opt.act[:psql][:set]==:on + if @opt.act[:sample_search_form][:db]==:pg # cgi_pgsql.rb SiSU_CGI_PgSQL::SearchPgSQL.new(@opt,@webserv).pgsql - elsif @opt.act[:sqlite][:set]==:on + elsif @opt.act[:sample_search_form][:db]==:sqlite # cgi_sqlite.rb SiSU_CGI_SQLite::SearchSQLite.new(@opt,@webserv).sqlite else puts <<-WOK |