From 8e86ddd30746fb8da272d8d534336c1b677cb3ca Mon Sep 17 00:00:00 2001 From: Simon Lieb Date: Tue, 7 Feb 2017 13:17:51 +0100 Subject: [PATCH] Typo and line break --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 1f464a1..57dabd2 100644 --- a/index.php +++ b/index.php @@ -30,11 +30,11 @@ if (!empty($_GET['url'])) { file_put_contents($hashfilepath, $url); - $shortUrl = 'http://'.$_SERVER['HTTP_HOST'].'/'.$_SERVER['SCRIPT_NAME'].'?'.$urlhash; + $shortUrl = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'].'?'.$urlhash; $qrcode = (new QrCode())->setText($shortUrl); - $content = ''.$shortUrl.'' + $content = ''.$shortUrl.'
' .''; } elseif (!empty($_GET)) { $urlhash = key($_GET);