aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/cgi_sqlite.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-05-09 22:10:16 -0400
committerRalph Amissah <ralph@amissah.com>2013-05-09 22:10:16 -0400
commitffe139ebc8681df0ed48762eb9601136dda41546 (patch)
tree68cdc9f24589836e7b228bb5b05eaf9235a638d2 /lib/sisu/v4/cgi_sqlite.rb
parentv4: defaults, sysenv, simplify default home page (not used by default) (diff)
v4: cgi script for sample search form, minor fixes
Diffstat (limited to 'lib/sisu/v4/cgi_sqlite.rb')
-rw-r--r--lib/sisu/v4/cgi_sqlite.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/sisu/v4/cgi_sqlite.rb b/lib/sisu/v4/cgi_sqlite.rb
index 6f8bc4cc..d82cf8ec 100644
--- a/lib/sisu/v4/cgi_sqlite.rb
+++ b/lib/sisu/v4/cgi_sqlite.rb
@@ -131,10 +131,11 @@ module SiSU_CGI_SQLite
require 'cgi'
require 'fcgi'
require 'dbi'
- @version='sisu_sqlite'
- @image_src="#{@env.url.webserv_cgi}/_sisu/image_sys"
- @hosturl_db="#{@env.url.webserv_base_cgi}/cgi-bin"
- @hosturl_files="#{@env.url.webserv_files_from_db}"
+ @stub_default="#{@name_of[:db]}"
+ @image_src="#{@name_of[:host_url_docs]}/_sisu/image_sys"
+ @hosturl_cgi="#{@name_of[:host_url_cgi]}"
+ @hosturl_files="#{@name_of[:host_url_docs]}"
+ @output_dir_structure_by="#{@name_of[:output_dir_structure]}"
@db_name_prefix="#{Db[:name_prefix]}"
WOK_SQL
end