mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
Shorturl are now shown for 'burn' pastes after creation
This commit is contained in:
parent
8f1e516cb6
commit
85f42f2f92
@ -141,7 +141,11 @@ class Pastes extends CI_Model
|
|||||||
|
|
||||||
if ($burn)
|
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;
|
exit;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user