X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwt.php;fp=dwt.php;h=7d68258d96269d301467c89258955c69fc75fdf1;hb=ddd681b6dcd0ef511238e96a0c3b94d9e8600ef2;hp=0000000000000000000000000000000000000000;hpb=a7b354fd625aa1d53f8d9913c7e117bc0ba5ebb7;p=wfpl.git diff --git a/dwt.php b/dwt.php new file mode 100644 index 0000000..7d68258 --- /dev/null +++ b/dwt.php @@ -0,0 +1,54 @@ +", $value); +} + +function dwt_output($filename = null) { + if($filename !== null) { + dwt_load($filename); + } + print(str_replace($GLOBALS['_dwt_keys'], $GLOBALS['_dwt_values'], $GLOBALS['_dwt_template'])); +}