summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-12-12 10:44:19 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2010-12-12 10:44:19 -0500
commit20c074b4a6082a5687278c6df85e7ad0234c7556 (patch)
treea4f8a6807bc7c0fa9edf44842288e16bec12cd3b /src/compiler.sml
parent023488cde9c968df265df1bd8b2358f5c2216115 (diff)
-prefix command-line option
Diffstat (limited to 'src/compiler.sml')
-rw-r--r--src/compiler.sml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.sml b/src/compiler.sml
index 655f8ced..10a63d51 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -445,7 +445,7 @@ fun parseUrp' accLibs fname =
readSources acc
end
- val prefix = ref NONE
+ val prefix = ref (case Settings.getUrlPrefix () of "/" => NONE | s => SOME s)
val database = ref (Settings.getDbstring ())
val exe = ref (Settings.getExe ())
val sql = ref (Settings.getSql ())