X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=test%2Ftem_test.php;h=2a8ef270a450ffad82b84ef923bfa66d47c31d07;hb=e057305351d93155bf9f0d2c664b6eb859d83bf4;hp=dbe8d28a9e44f6933cf1c40c65d9bdfedc65eda0;hpb=3bec0ef771d741361c6c4c4c1ff069398f6e37a0;p=wfpl.git diff --git a/test/tem_test.php b/test/tem_test.php index dbe8d28..2a8ef27 100644 --- a/test/tem_test.php +++ b/test/tem_test.php @@ -3,11 +3,11 @@ # Copyright (C) 2005 Jason Woofenden PUBLIC DOMAIN -# This file demonstrates, documents and tests the template system (along with -# its html template.) +# This file (along with its html template) demonstrates, documents and tests +# 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