X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform.php;fp=metaform.php;h=deba1de12e10d8c3f436711afca89c20a0f3647c;hb=571c58fff7b139f590b5c4862761092bc1045436;hp=a16e92f11028628e83887f3458c8c0098cf5d72e;hpb=6f87f35266423cf9292fa3d456821413a313e188;p=wfpl.git diff --git a/metaform.php b/metaform.php index a16e92f..deba1de 100644 --- a/metaform.php +++ b/metaform.php @@ -18,10 +18,10 @@ # This file writes the code for you (sql, php, html, email) to handle a form. -require_once('code/wfpl/template.php'); -require_once('code/wfpl/http.php'); -require_once('code/wfpl/tar.php'); -require_once('code/wfpl/format.php'); +require_once(__DIR__ . '/template.php'); +require_once(__DIR__ . '/http.php'); +require_once(__DIR__ . '/tar.php'); +require_once(__DIR__ . '/format.php'); # see code/wfpl/metaform/template.html for the html templates for these elements $GLOBALS['types'] = array(