Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 3
- Log:
Configured for temporary /rails/instiki location on Alpha.
Updated several layouts for RISC OS Open Limited site style.
Removed local copy of Rails from /vendor because the copy
installed site-wide does not insert port numbers into URLs,
but the copy originally shipped with Instiki does. Modified
SQLite schema for PostgreSQL moving SQLite definitions to a
new subdirectory in /db.
- Author:
- adh
- Date:
- Sat Jul 22 16:32:18 +0100 2006
- Size:
- 1830 Bytes
1 | # Bootstrap the Rails environment, frameworks, and default configuration |
2 | require File.join(File.dirname(__FILE__), 'boot') |
3 | |
4 | Rails::Initializer.run do |config| |
5 | # We don't run in the document root, so images etc. must come from |
6 | # a non-root location too. Hijack the 'asset host' facility to get |
7 | # helper-based links pointing in the right place. |
8 | config.action_controller.asset_host = "/rails/instiki" |
9 | |
10 | # Skip frameworks you're not going to use |
11 | config.frameworks -= [ :action_web_service, :action_mailer ] |
12 | |
13 | # Force all environments to use the same logger level |
14 | # (by default production uses :info, the others :debug) |
15 | config.log_level = :warn |
16 | |
17 | # Use the database for sessions instead of the file system |
18 | # (create the session table with 'rake create_sessions_table') |
19 | config.action_controller.session_store = :active_record_store |
20 | |
21 | # Enable page/fragment caching by setting a file-based store |
22 | # (remember to create the caching directory and make it readable to the application) |
23 | # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache" |
24 | |
25 | # Activate observers that should always be running |
26 | config.active_record.observers = :page_observer |
27 | |
28 | # Use Active Record's schema dumper instead of SQL when creating the test database |
29 | # (enables use of different database adapters for development and test environments) |
30 | config.active_record.schema_format = :ruby |
31 | |
32 | # config.load_paths << "#{RAILS_ROOT}/vendor/sqlite3-ruby" |
33 | end |
34 | |
35 | # Allow multiple Rails applications by giving the session cookie a |
36 | # unique prefix. |
37 | |
38 | ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = 'instikiapp_session_id' |
39 | |
40 | # Instiki-specific configuration below |
41 | require_dependency 'instiki_errors' |
42 | |
43 | OPTIONS = Hash.new; |
44 | OPTIONS[:pdflatex] = false; |
45 | |
46 | # Enable UTF-8 support |
47 | $KCODE = 'u' |
48 | require 'jcode' |