Changeset 2694 for lang/ruby/ssb
- Timestamp:
- 12/07/07 05:01:15 (13 months ago)
- Location:
- lang/ruby/ssb/trunk
- Files:
-
- 1 added
- 2 modified
-
libs/ssb.rb (modified) (1 diff)
-
public_html/favicon.ico (added)
-
ssb-webrick.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/ssb/trunk/libs/ssb.rb
r2526 r2694 39 39 40 40 def log(request_method, query, user_agent, uid) 41 open(File.join(SSB::CONFIG[:home_dir], 'logs', 'browser.log'), 'a+') do |log| 42 now = Time.now 43 log.print now 44 log.print "\t", request_method, "\t", query, "\t", user_agent, "\t", uid, "\n" 41 open(File.join(SSB::CONFIG[:home_dir], 'logs', 'browser.log'), 'a+') do |out| 42 out.puts [Time.now, request_method, query, user_agent, uid].join("\t") 45 43 end 46 44 end -
lang/ruby/ssb/trunk/ssb-webrick.rb
r2404 r2694 37 37 srv.mount("/#{x}/", WEBrick::HTTPServlet::FileHandler, File.join(docroot, x)) 38 38 } 39 srv.mount_proc('/favicon.ico'){|req,res|} 39 40 srv.start 40 41
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)