From 8cbc21f60ff97b5d6543d2009612cb551834ae11 Mon Sep 17 00:00:00 2001 From: Tom Slominski Date: Sat, 2 Nov 2013 15:32:30 +0000 Subject: [PATCH] A note --- result.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/result.php b/result.php index 9b46c60..be7ac1a 100644 --- a/result.php +++ b/result.php @@ -15,7 +15,7 @@ $shorturl = isset( $return['shorturl'] ) ? $return['shorturl'] : ''; $message = isset( $return['message'] ) ? $return['message'] : ''; $title = isset( $return['title'] ) ? $return['title'] : ''; -// Stop here if bookmarklet with a JSON callback function ("instant" bookmarklets) +// Stop here if bookmarklet with a JSON callback function ("instant" bookmarklets) -- code from YOURLS if( isset( $_GET['jsonp'] ) && $_GET['jsonp'] == 'yourls' ) { $short = $return['shorturl'] ? $return['shorturl'] : ''; $message = "Short URL (Ctrl+C to copy)";