diff --git a/app/Http/Controllers/UrlShortenerController.php b/app/Http/Controllers/UrlShortenerController.php index e11b169..a702e0a 100755 --- a/app/Http/Controllers/UrlShortenerController.php +++ b/app/Http/Controllers/UrlShortenerController.php @@ -100,7 +100,7 @@ class UrlShortenerController extends Controller $url = $urlAddress->url_destination; if ($httpPath == substr($url, 0, strlen($httpPath))) { $hasHttpOrHttps = true; - } else if ($httpsPath == substr($url, 0, strlen($httpsPath))) { + } elseif ($httpsPath == substr($url, 0, strlen($httpsPath))) { $hasHttpOrHttps = true; } @@ -145,7 +145,7 @@ class UrlShortenerController extends Controller $url = $urlAddress->url_destination; if ($httpPath == substr($url, 0, strlen($httpPath))) { $hasHttpOrHttps = true; - } else if ($httpsPath == substr($url, 0, strlen($httpsPath))) { + } elseif ($httpsPath == substr($url, 0, strlen($httpsPath))) { $hasHttpOrHttps = true; } diff --git a/resources/views/expired.blade.php b/resources/views/expired.blade.php index ce19f24..3870c59 100755 --- a/resources/views/expired.blade.php +++ b/resources/views/expired.blade.php @@ -1,11 +1,12 @@ +
- +Expired
-- I am sorry, the link is expired, so please just back to the homepage, or if you own the link just regenerate - the link, but if you get the link from somebody just ask to the person who share this link. -
-Expired
++ I am sorry, the link is expired, so please just back to the homepage, or if you own the link just + regenerate + the link, but if you get the link from somebody just ask to the person who share this link. +
+