JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix require_once() paths
[wfpl.git] / unit_tests / encode.php
index 3703c3e..911a8af 100644 (file)
@@ -21,7 +21,7 @@
 # See code/wfpl/test.php for details on how to run or create tests
 
 
-require_once('code/wfpl/encode.php');
+require_once(__DIR__.'/'.'code/wfpl/encode.php');
 
 function _test_encode_pulled($field, $value, $correct) {
        unit_test_func('enc_pulled', $value, $field, $correct);