JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
metaform: make run.php include (instead of being a symlink)
authorJason Woofenden <jason@jasonwoof.com>
Thu, 18 Dec 2014 20:17:05 +0000 (15:17 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 18 Dec 2014 20:17:05 +0000 (15:17 -0500)
metaform.php

index 411a9b2..b8580f4 100644 (file)
@@ -599,7 +599,7 @@ function download_tar() {
        $files = array(
                "INSTALL" => read_whole_file('code/wfpl/metaform/INSTALL'),
                ".htaccess" => make_htaccess(),
-               "run.php ->" => 'code/wfpl/run.php',
+               "run.php" => "<?php\n\nrequire_once(__DIR__ . '/code/wfpl/run.php');",
                "style.less" => read_whole_file('code/wfpl/metaform/style.less'),
                "template.html" => read_whole_file('code/wfpl/metaform/site-template.html'),
                "$admin_name.html" => make_html(),