aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/cgi.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-08-12 00:11:35 -0400
committerRalph Amissah <ralph@amissah.com>2014-08-12 00:11:39 -0400
commit9680068ed1eee6cab4367714213f8052145529b6 (patch)
tree4efa5c8562147f644b7b300b2d78e9aaecb291d2 /lib/sisu/v6/cgi.rb
parentv5 v6: webrick, wb.cgi fixed & omitted/(use discarded) (diff)
v5 v6: hub, organisation & loose endssisu_5.6.1
* tweak triggers * split file further * remove mod
Diffstat (limited to 'lib/sisu/v6/cgi.rb')
-rw-r--r--lib/sisu/v6/cgi.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v6/cgi.rb b/lib/sisu/v6/cgi.rb
index 9a0dab33..1413eb5c 100644
--- a/lib/sisu/v6/cgi.rb
+++ b/lib/sisu/v6/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