X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform.php;h=bf90466478884bf39ce936b792ff1426a97f94f1;hb=ca972885f2beb03f94cc8b8418d40bf715a7cb4d;hp=9f67385271ff1a58651842353220cc146a42ff1f;hpb=fe9a487e1b5ed0700481aee4609055dc6c47505d;p=wfpl.git diff --git a/metaform.php b/metaform.php index 9f67385..bf90466 100644 --- a/metaform.php +++ b/metaform.php @@ -530,7 +530,6 @@ function edit_url() { $url = ereg_replace('view_php=[^&]*', 'edit=yes', $url); $url = ereg_replace('download_tar=[^&]*', 'edit=yes', $url); $url = ereg_replace('/[a-z0-9_.]*\?', '/?', $url); - $url = str_replace('jasonwoof.l', 'jasonwoof.com', $url); # so that code generated on Jason's home computer will display a publically accessible link. return $url; } @@ -598,9 +597,10 @@ function download_tar() { $admin_name = $GLOBALS['file_name']; $nice_name = $GLOBALS['public_file_name']; $files = array( - "INSTALL" => read_whole_file(__DIR__.'/'.'metaform/INSTALL'), + "README" => "These files are meant to work with wfpl.\n\nSee: http://sametwice.com/wfpl\n", ".htaccess" => make_htaccess(), - "config.php" => " " read_whole_file(__DIR__.'/'.'metaform/wfpl_main.php'), "styl.styl" => read_whole_file(__DIR__.'/'.'metaform/styl.styl'), "template.html" => read_whole_file(__DIR__.'/'.'metaform/site-template.html'), "$admin_name.html" => make_html(),