JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
clean up my urls
[wfpl.git] / metaform.php
index 9f67385..c604d9a 100644 (file)
@@ -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,7 +597,7 @@ 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" => "<?php\n\nrequire_once(__DIR__.'/'.'inc/wfpl/main.php');\nmetaform_main();\n",
                "styl.styl" => read_whole_file(__DIR__.'/'.'metaform/styl.styl'),