aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/cgi_sqlite.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2009-07-01 13:48:01 -0400
committerRalph Amissah <ralph@amissah.com>2009-07-01 13:48:01 -0400
commit1ebd6e3c0670296903ee079e845fd3661a0bfebd (patch)
tree453815f4df74aff58709d82cdd8cc610d9790bb3 /lib/sisu/v0/cgi_sqlite.rb
parentsisu-0.70.5, merge branch upstream into debian/sid; debian/ new year cleaning (diff)
parentchangelog & version update (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/cgi_sqlite.rb')
-rw-r--r--lib/sisu/v0/cgi_sqlite.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/cgi_sqlite.rb b/lib/sisu/v0/cgi_sqlite.rb
index 86d6987b..34cb67dc 100644
--- a/lib/sisu/v0/cgi_sqlite.rb
+++ b/lib/sisu/v0/cgi_sqlite.rb
@@ -22,7 +22,7 @@
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
@@ -93,7 +93,7 @@ module SiSU_CGI_sqlite
serve.each do |x|
f3 << %{ when /SiSU_#{x}/; "#{@env.path.webserv}/#{x}/sisu_sqlite.db"\n}
end
- f3 << "else #{@env.path.webserv}/#{serve[0]}/sisu_sqlite.db\n end\n"
+ f3 << %{ else '#{@env.path.webserv}/#{serve[0]}/sisu_sqlite.db'\n end\n}
if FileTest.writable?('.')
output=File.open('sisu_sqlite.cgi','w')
output << header0 << header1 << header_desc << header2 << f1 << buttons1 << buttons2 << search_request << search_statement << search_statement_common << search_query1 << @common.pages << search_query2 << @common.tail << @common.main1 << f2 << f3 << dbi_connect << @common.main2