Add some search option in the last paste list
This commit is contained in:
parent
7c15c88657
commit
ca8b5a0c3e
6 changed files with 32 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue