aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/cgi_sqlite.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-10-23 23:59:57 -0400
committerRalph Amissah <ralph@amissah.com>2013-10-23 23:59:57 -0400
commit8605801052c23ea408951b4d4054cb90d9caf1f6 (patch)
treeee82b5108ccc570222ba3f0fd72418a85ca70344 /lib/sisu/v5/cgi_sqlite.rb
parentdebian/changelog (4.2.7-1) (diff)
parentv4 v5: dal, collapsed levels implemented (diff)
Merge tag 'sisu_4.2.8' into debian/sid
SiSU 4.2.8
Diffstat (limited to 'lib/sisu/v5/cgi_sqlite.rb')
-rw-r--r--lib/sisu/v5/cgi_sqlite.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v5/cgi_sqlite.rb b/lib/sisu/v5/cgi_sqlite.rb
index 8b47814c..d2d6eb28 100644
--- a/lib/sisu/v5/cgi_sqlite.rb
+++ b/lib/sisu/v5/cgi_sqlite.rb
@@ -66,7 +66,7 @@ module SiSU_CGI_SQLite
class SearchSQLite < CGI_Common
def initialize(opt,webserv)
@opt,@webserv=opt,webserv
- @cX=SiSU_Screen::Ansi.new(opt.cmd).cX
+ @cX=SiSU_Screen::Ansi.new(opt.act[:color_state][:set]).cX
@env=SiSU_Env::InfoEnv.new('',opt)
@image_src="#{@env.url.webserv_cgi(@opt)}/_sisu/image_sys"
@name_of={}
@@ -146,13 +146,13 @@ module SiSU_CGI_SQLite
WOK
end
b='(to create and populate sisu sqlite database see "man sisu" and in particular the -d flag)'
- SiSU_Screen::Ansi.new(@opt.cmd,a,b).warn
+ SiSU_Screen::Ansi.new(opt.act[:color_state][:set],a,b).warn
a=<<-WOK
#{@env.webserv_base_cgi(@opt)}/cgi-bin/#{@cgi_file_name}
WOK
- SiSU_Screen::Ansi.new(@opt.cmd,a).print_blue
+ SiSU_Screen::Ansi.new(opt.act[:color_state][:set],a).print_blue
else puts "failed in attempt to write #{@cgi_file_name} to present directory, is directory writable?"
end
end