X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=metaform.php;h=2be93ea925b54c394502921aedf1c2a268bfa314;hb=d674720715c4dd8f210d9064db032f1c862dd3fa;hp=5416b9447125396b57199a387ba86b875d0aafdd;hpb=cb781e2eff50ef8d28a6a8868559a18465614dac;p=wfpl.git diff --git a/metaform.php b/metaform.php index 5416b94..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" => " 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());