X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=test%2Fsession_test.php;h=dea32910264d7eb12fe47cb49c84eeed8280a4a6;hp=8defd9e6a2ffdfe4ba0663f61fe9f617dd288649;hb=e057305351d93155bf9f0d2c664b6eb859d83bf4;hpb=8e61d658c67b8782612820211862ee0df243891d diff --git a/test/session_test.php b/test/session_test.php index 8defd9e..dea3291 100644 --- a/test/session_test.php +++ b/test/session_test.php @@ -18,8 +18,8 @@ # WARNING: this code deletes all wfpl sessions. Do not use on a live site's database ############## -require_once('code/wfpl/test/session_test_db_connect.php'); -require_once('code/wfpl/session.php'); +require_once(__DIR__.'/'.'code/wfpl/test/session_test_db_connect.php'); +require_once(__DIR__.'/'.'code/wfpl/session.php'); function session_dump($message) { $ses = db_get_rows('wfpl_sessions', 'id,session_key,length,expires');