JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix require_once() paths
[wfpl.git] / test / tem_test.php
index dbe8d28..2a8ef27 100644 (file)
@@ -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