X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=test%2Ftem_test.php;h=2a8ef270a450ffad82b84ef923bfa66d47c31d07;hp=f036c87e400149479d07189413da9538f7e22fa7;hb=e057305351d93155bf9f0d2c664b6eb859d83bf4;hpb=8e61d658c67b8782612820211862ee0df243891d diff --git a/test/tem_test.php b/test/tem_test.php index f036c87..2a8ef27 100644 --- a/test/tem_test.php +++ b/test/tem_test.php @@ -7,7 +7,7 @@ # the template system. # First we'll need the functions in wfpl/template.php: -require_once('code/wfpl/template.php'); +require_once(__DIR__.'/'.'code/wfpl/template.php'); # Always use the exact require_once statement above to get access to these # functions. You should have in each directory of your projects a copy of wfpl # or a symbolic link to it. This allows there to be different versions of wfpl