diff options
| author | tim b <timb@camcompu.home> | 2010-05-29 20:09:18 -0700 |
|---|---|---|
| committer | tim b <timb@camcompu.home> | 2010-05-29 20:09:18 -0700 |
| commit | dd8baca6e085e4d08ea76a191a18543351caa877 (patch) | |
| tree | 2725b67709c9b01d7551dba7b671cc4e98d84bf2 /src/config.clj | |
| parent | 2cd4a55732be51d13cd3651e48638cb9f07e3422 (diff) | |
add config clojure file
Diffstat (limited to 'src/config.clj')
| -rw-r--r-- | src/config.clj | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config.clj b/src/config.clj new file mode 100644 index 0000000..b3acb10 --- /dev/null +++ b/src/config.clj @@ -0,0 +1,15 @@ +(ns config + (:import java.lang.System)) + +;; Configuration + +(def *cookie-domain* ".dump.fm") + +(def *server-url* + (if (= (System/getProperty "user.name") "dumpfmprod") + "http://dump.fm" + "http://localhost:8080")) + +(def *root-directory* (System/getProperty "user.dir")) +(def *image-directory* "images") +(def *avatar-directory* "avatars")
\ No newline at end of file |
