X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform.php;h=c604d9a026e0886d7606bc3a5a03dbdbfc4101fe;hb=15459c86d0996ab3037b1738a8be6efd378c1258;hp=ad980a60b1b932b1d04c79449651d63da67eed87;hpb=23dfbcc20fc6d20fb5be211e5af50cdcb8565c8e;p=wfpl.git diff --git a/metaform.php b/metaform.php index ad980a6..c604d9a 100644 --- a/metaform.php +++ b/metaform.php @@ -23,7 +23,7 @@ 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 +# see wfpl/metaform/template.html for the html templates for these elements $GLOBALS['types'] = array( # type input format sql 'varname' => array('textbox', 'varname', 'varchar(50) binary'), @@ -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" => " read_whole_file(__DIR__.'/'.'metaform/styl.styl'),