Add some search option in the last paste list

This commit is contained in:
Némunaire 2012-11-05 19:45:20 +01:00
commit ca8b5a0c3e
6 changed files with 32 additions and 11 deletions

View file

@ -58,7 +58,8 @@ foreach ($_GET as $k => $t)
$paste->crypt($t);
}
header("Content-Type: text/html; charset=UTF-8");
header("Content-Type: text/plain; charset=UTF-8");
header("Content-Disposition: inline; filename=\"".addslashes($paste->title)."\"");
echo ($paste->content);
}
}