Explorar o código

Fix config import paths

Frans Bergman %!s(int64=4) %!d(string=hai) anos
pai
achega
9fc064faa9
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      bin/wesh.sh

+ 4 - 4
bin/wesh.sh

@@ -1,11 +1,11 @@
 #!/bin/sh
 
-. conf.sh
-. lib.sh
-. corehandlers.sh
+. ./conf.sh
+. ./lib.sh
+. ./corehandlers.sh
 cd ..
 
-. "$SITE_DIR/_wesh/config"
+[ -f "$SITE_DIR/_wesh/config" ] && . "$SITE_DIR/_wesh/config"
 
 printf "Content-Type: text/html\n"
 printf "\n"