summaryrefslogtreecommitdiff
path: root/http/pic/fetch.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-02-09 20:14:59 +0100
committeremkael <emkael@tlen.pl>2015-02-09 20:14:59 +0100
commit17167b1c0e088000164b87ef0a02237a3ffc107c (patch)
tree79c61deeea11e57b3c8e99dc39ca76cee491a745 /http/pic/fetch.php
parentdd3d2509f6048e11f9b2b127f6c7acb80a506d8d (diff)
* mod_python port
Diffstat (limited to 'http/pic/fetch.php')
-rw-r--r--http/pic/fetch.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/http/pic/fetch.php b/http/pic/fetch.php
deleted file mode 100644
index 1fb94cd..0000000
--- a/http/pic/fetch.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-$resource = @file_get_contents('http://msc.com.pl/cezar' . $_SERVER['REQUEST_URI']);
-if ($resource) {
- $filename = array_pop(explode('/', $_SERVER['REQUEST_URI']));
- file_put_contents($filename, $resource);
- foreach ($http_response_header as $header) {
- header($header);
- }
- readfile($filename);
-}
-
-?>