Shorturl are now shown for 'burn' pastes after creation

This commit is contained in:
Nilpferd 2017-05-21 10:33:31 +02:00
parent 8f1e516cb6
commit 85f42f2f92

View File

@ -141,7 +141,11 @@ class Pastes extends CI_Model
if ($burn)
{
echo 'copy this URL, it will become invalid on visit: ' . site_url('view/' . $data['pid']);
echo 'copy this URL, it will become invalid on visit: <a href="' . site_url('view/' . $data['pid']) . '">' . site_url('view/' . $data['pid']) . '</a>';
if ($data['snipurl'] !== false)
{
echo '<br>Shorturl: <a href="' . $shorturl . '">' . $shorturl . '</a><br>';
}
exit;
}
else