aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v4')
-rw-r--r--lib/sisu/v4/cgi_pgsql.rb2
-rw-r--r--lib/sisu/v4/cgi_sql_common.rb2
-rw-r--r--lib/sisu/v4/cgi_sqlite.rb9
3 files changed, 7 insertions, 6 deletions
diff --git a/lib/sisu/v4/cgi_pgsql.rb b/lib/sisu/v4/cgi_pgsql.rb
index d621d187..fd688244 100644
--- a/lib/sisu/v4/cgi_pgsql.rb
+++ b/lib/sisu/v4/cgi_pgsql.rb
@@ -160,7 +160,7 @@ module SiSU_CGI_PgSQL
require 'dbi'
@stub_default="#{@name_of[:db]}"
@image_src="#{@name_of[:host_url_docs]}/_sisu/image_sys"
- @hosturl_db="#{@name_of[:host_url_cgi]}"
+ @hosturl_cgi="#{@name_of[:host_url_cgi]}"
@hosturl_files="#{@name_of[:host_url_docs]}"
@output_dir_structure_by="#{@name_of[:output_dir_structure]}"
@port="#{@db.psql.port}"
diff --git a/lib/sisu/v4/cgi_sql_common.rb b/lib/sisu/v4/cgi_sql_common.rb
index 5e356a58..6c0550e6 100644
--- a/lib/sisu/v4/cgi_sql_common.rb
+++ b/lib/sisu/v4/cgi_sql_common.rb
@@ -130,7 +130,7 @@ module SiSU_CGI_SQL
<<-'WOK_SQL'
#Common TOP
@@offset=0
- @base="#{@hosturl_db}/#{@stub_default}.cgi" #fix sqlite
+ @base="#{@hosturl_cgi}/#{@stub_default}.cgi" #fix sqlite
@@canned_search_url=@base
@color_heading='#DDFFAA'
@color_match='#ffff48'
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