summaryrefslogtreecommitdiff
path: root/lib/environment.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-05-07 15:36:40 +0200
committerChristoph Helma <helma@in-silico.ch>2010-05-07 15:36:40 +0200
commitd32c70ba0ccbd4b32a972258683c190f48fdbe07 (patch)
treea00cc32e79674de404df297ebf503b18a401754f /lib/environment.rb
parentd262dbc79c9f5d8e2d74647df52a9c44e1af511d (diff)
parent2911ebe2c818a33513d263654f3a0c609e631404 (diff)
Initial changes from Martin merged
Diffstat (limited to 'lib/environment.rb')
-rw-r--r--lib/environment.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/environment.rb b/lib/environment.rb
index 29dcbdb..44efd6e 100644
--- a/lib/environment.rb
+++ b/lib/environment.rb
@@ -40,6 +40,9 @@ if @@config[:database]
end
end
+# mail
+#load File.join config_dir,"mail.rb"
+
# hack: store sinatra in global var to make url_for and halt methods accessible
before {$sinatra = self unless $sinatra}
@@ -128,6 +131,7 @@ RDF = Redland::Namespace.new 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
OWL = Redland::Namespace.new 'http://www.w3.org/2002/07/owl#'
DC = Redland::Namespace.new 'http://purl.org/dc/elements/1.1/'
OT = Redland::Namespace.new 'http://www.opentox.org/api/1.1#'
+XML = Redland::Namespace.new 'http://www.w3.org/2001/XMLSchema#'
# Regular expressions for parsing classification data
TRUE_REGEXP = /^(true|active|$1^)/