X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform.php;h=bf90466478884bf39ce936b792ff1426a97f94f1;hb=c82d62dd4f5c3af92841ccc7cc2b298fbabcf6ef;hp=31efa99317a506cf5597f430b57b52e2139b95e1;hpb=73081d29a40502abc68db3ce80115e052b95f953;p=wfpl.git diff --git a/metaform.php b/metaform.php index 31efa99..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; } @@ -600,7 +599,8 @@ function download_tar() { $files = array( "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(),