diff options
author | Andrew Dolgov <[email protected]> | 2013-03-21 23:47:44 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-21 23:47:44 +0400 |
commit | d98e76d9c2d6f0e5ef7ca4f9ef32bc6f7daf8ea2 (patch) | |
tree | 34cea56d4b01d8b657d9137a3c81689a892f6302 /mobile/image.php | |
parent | 8ef7b02e4d45cd8494fd769140cfa091171e96d9 (diff) |
remove long deprecated mobile/
Diffstat (limited to 'mobile/image.php')
-rw-r--r-- | mobile/image.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/mobile/image.php b/mobile/image.php deleted file mode 100644 index 765fcc240..000000000 --- a/mobile/image.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - set_include_path(dirname(__FILE__) . PATH_SEPARATOR . - dirname(dirname(__FILE__)) . PATH_SEPARATOR . - dirname(dirname(__FILE__)) . "/include" . PATH_SEPARATOR . - get_include_path()); - - require_once "config.php"; - - chdir('..'); - - $filename = CACHE_DIR . '/images/' . sha1($_GET['url']) . '.png'; - - if (file_exists($filename)) { - header("Content-type: image/png"); - echo file_get_contents($filename); - } else { - header("Location: " . $_GET['url']); - } -?> |