X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform.php;h=2be93ea925b54c394502921aedf1c2a268bfa314;hb=e057305351d93155bf9f0d2c664b6eb859d83bf4;hp=411a9b258c3f45489692cb90178b003f44fe779b;hpb=51cf6721f37220e1277c71545b87dcc01fbf7e81;p=wfpl.git diff --git a/metaform.php b/metaform.php index 411a9b2..2be93ea 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(__DIR__ . '/template.php'); -require_once(__DIR__ . '/http.php'); -require_once(__DIR__ . '/tar.php'); -require_once(__DIR__ . '/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( @@ -599,8 +599,8 @@ function download_tar() { $files = array( "INSTALL" => read_whole_file('code/wfpl/metaform/INSTALL'), ".htaccess" => make_htaccess(), - "run.php ->" => 'code/wfpl/run.php', - "style.less" => read_whole_file('code/wfpl/metaform/style.less'), + "run.php" => " read_whole_file('code/wfpl/metaform/styl.styl'), "template.html" => read_whole_file('code/wfpl/metaform/site-template.html'), "$admin_name.html" => make_html(), "$admin_name.php" => make_php());