diff --git a/htdocs/application/models/Pastes.php b/htdocs/application/models/Pastes.php index ab2f22d..ec7bdf1 100644 --- a/htdocs/application/models/Pastes.php +++ b/htdocs/application/models/Pastes.php @@ -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: ' . site_url('view/' . $data['pid']) . ''; + if ($data['snipurl'] !== false) + { + echo '
Shorturl: ' . $shorturl . '
'; + } exit; } else