Explorar o código

Allow sites to override master template

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

+ 1 - 1
bin/wesh.sh

@@ -13,5 +13,5 @@ else
     printf "Content-Type: text/html\n"
     printf "\n"
 
-    handler lib/default_master.tpl
+    handler "$(get_lib_file master.tpl)"
 fi

+ 0 - 0
lib/default_master.tpl → lib/master.tpl