$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;
}
$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'),