瀏覽代碼

minor fixes

Innocenty Enikeew 10 年之前
父節點
當前提交
0c387214a6
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 1 0
      photo-store.asd
  2. 3 0
      photo-store.lisp

+ 1 - 0
photo-store.asd

@@ -11,6 +11,7 @@
                :log4cl
                :png-read
                :restas
+               :sqlite
                :zpb-exif)
   :serial t
   :components ((:file "package")

+ 3 - 0
photo-store.lisp

@@ -228,4 +228,7 @@
 (defvar *photo-storage-path* nil "Destination storage path")
 
 (defun start (&key (address "0.0.0.0") (port 8800))
+  (let ((config (asdf:system-relative-pathname :photo-store "config.lisp")))
+    (when (probe-file config)
+      (load config)))
   (restas:start '#:photo-store :address address :port port))