Ver Fonte

Fix config import paths

Frans Bergman há 4 anos atrás
pai
commit
9fc064faa9
1 ficheiros alterados com 4 adições e 4 exclusões
  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"