Эх сурвалжийг харах

[core] load config from current dir

Innocenty Enikeew 7 жил өмнө
parent
commit
67ec64b837
1 өөрчлөгдсөн 1 нэмэгдсэн , 4 устгасан
  1. 1 4
      chatikbot.lisp

+ 1 - 4
chatikbot.lisp

@@ -55,10 +55,7 @@
 
 
 (eval-when (:load-toplevel :execute)
 (eval-when (:load-toplevel :execute)
   ;; Load config file
   ;; Load config file
-  (alexandria:when-let (file (probe-file
-                              (merge-pathnames "config.lisp"
-                                               (asdf:component-pathname
-                                                (asdf:find-system '#:chatikbot)))))
+  (alexandria:when-let (file (probe-file "config.lisp"))
     (load file))
     (load file))
 
 
   ;; Init database
   ;; Init database