diff --git a/app/Helpers/utils.php b/app/Helpers/utils.php index 7892505..14918ee 100644 --- a/app/Helpers/utils.php +++ b/app/Helpers/utils.php @@ -24,5 +24,6 @@ function get_domain($host) } else if ($count > 2) { $myhost = get_domain(explode('.', $myhost, 2)[1]); } + $myhost = preg_replace( "#^[^:/.]*[:/]+#i", "", $myhost); return $myhost; }