mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
Merge pull request #418 from Nilpferd/master
Shorturl are now shown for 'burn' pastes after creation
This commit is contained in:
commit
bd34454758
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user