All pastes #1443904 Raw Edit

download.php

public text v1 · immutable
#1443904 ·published 2009-06-01 18:57 UTC
rendered paste body
> diff -u scripts/download.php download.php--- scripts/download.php        2009-05-29 10:57:53.000000000  0200    download.php        2009-06-01 20:56:22.000000000  0200@@ -44,6  44,7 @@        $mime_types = array(                //general                'txt' => 'text/plain',                'csv' => 'text/plain',                'htm' => 'text/html',                'html' => 'text/html',                'php' => 'application/x-httpd-php',@@ -127,5  128,6 @@ } //if no file else {-       header("location: ./");-}\ No newline at end of file        print "Error: ".$_GET['file']; }