X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=run2.php;h=abe0dfaefa9c2092d95f70cfac8cc78bda38253f;hp=5e232162ac7a9ec41d98121f6c033c52c70e166d;hb=e057305351d93155bf9f0d2c664b6eb859d83bf4;hpb=8e61d658c67b8782612820211862ee0df243891d diff --git a/run2.php b/run2.php index 5e23216..abe0dfa 100644 --- a/run2.php +++ b/run2.php @@ -41,9 +41,9 @@ # RewriteRule ^$ /foo/run.php # RewriteRule ^foo/[^/]*\.html$ /foo/run.php -require_once('code/wfpl/file_run.php'); -require_once('code/wfpl/http.php'); -require_once('code/wfpl/template.php'); +require_once(__DIR__.'/'.'code/wfpl/file_run.php'); +require_once(__DIR__.'/'.'code/wfpl/http.php'); +require_once(__DIR__.'/'.'code/wfpl/template.php'); if(file_exists('code/config.php')) { file_run('code/config.php');