about summary refs log tree commit diff
path: root/sourcecodes/reroute.php
diff options
context:
space:
mode:
authorziejd22021-02-24 15:19:03 -0600
committerziejd22021-02-24 15:19:03 -0600
commit1427e9bf4f85823164b4573a3bcf1ba3ba6b04d0 (patch)
treed4356879a9b0a3d44063a6b292ef0197173697af /sourcecodes/reroute.php
parenta2b306b10fb07f07c63235861ccfe460153e8609 (diff)
downloadBNW-1427e9bf4f85823164b4573a3bcf1ba3ba6b04d0.tar.gz
Moving final GENENET8 version to master
Diffstat (limited to 'sourcecodes/reroute.php')
-rw-r--r--sourcecodes/reroute.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/sourcecodes/reroute.php b/sourcecodes/reroute.php
deleted file mode 100644
index da1152dd..00000000
--- a/sourcecodes/reroute.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-##
-## Retrieve the file passed in the URL and send it to the browser.
-## Set the $WORKDIR variable to point to the directory containing
-## the files to be displayed.
-
-$FILENAME = $_SERVER['QUERY_STRING'];
-$WORKDIR = '/var/lib/genenet/bnw/';
-
-if ( file_exists( $WORKDIR . $FILENAME ) )
-{
-    header("Content-type: text/plain");
-    ##readfile($WORKDIR.$FILENAME);
-    print file_get_contents( "file://" . $WORKDIR . $FILENAME, FALSE );
-}
-else
-{
-    echo " File " . $FILENAME . " not found in " . $WORKDIR . "\n";
-}
-?>
-