X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=run.php;h=b5b91a18a1d66893802619a98b82056567587e27;hb=8ef1f36849dc9f50ad2d5c19bef126ab3c9e454b;hp=e861bb200ae014cf0bff178469da1166fd0aa0f0;hpb=b7aee26390165baf2ca97ea7de2c577cc2456748;p=wfpl.git diff --git a/run.php b/run.php index e861bb2..b5b91a1 100644 --- a/run.php +++ b/run.php @@ -1,23 +1,9 @@ 404

404 File Not Found

'; } @@ -108,14 +122,6 @@ function run_php($basename = false) { # files can return a basename or URL of a page to be run/displayed $other = file_run($php_file); if($other) { - if(strpos($other, ':')) { - redirect($other); - exit(); - } - if(substr($other, 0, 2) == './') { - redirect(ereg_replace('/[^/]*$', substr($other, 1), this_url())); - exit(); - } run_php($other); return; }