diff --git a/classes/CustomCDN.php b/classes/CustomCDN.php index 70ce8fe..152f937 100644 --- a/classes/CustomCDN.php +++ b/classes/CustomCDN.php @@ -67,5 +67,3 @@ class CustomCDN $this->public = false; } } - -?> diff --git a/classes/DJ.php b/classes/DJ.php index 1cc754e..40b73ba 100644 --- a/classes/DJ.php +++ b/classes/DJ.php @@ -229,4 +229,4 @@ class DJ { return $this->mixes; } -} \ No newline at end of file +} diff --git a/classes/Mix.php b/classes/Mix.php index 51ccbbe..49ecfa2 100644 --- a/classes/Mix.php +++ b/classes/Mix.php @@ -97,8 +97,12 @@ class Mix if ($this->loadDJs) { require_once 'DJ.php'; $this->djs[] = new DJ($mix['dj1'], $this->db); - if ($mix['dj2'] != null) $this->djs[] = new DJ($mix['dj2'], $this->db); - if ($mix['dj3'] != null) $this->djs[] = new DJ($mix['dj3'], $this->db); + if ($mix['dj2'] != null) { + $this->djs[] = new DJ($mix['dj2'], $this->db); + } + if ($mix['dj3'] != null) { + $this->djs[] = new DJ($mix['dj3'], $this->db); + } $this->djs = array_filter($this->djs); } diff --git a/classes/S3.php b/classes/S3.php index 3e8bd4e..de44131 100644 --- a/classes/S3.php +++ b/classes/S3.php @@ -5,4 +5,4 @@ require_once 'vendor/autoload.php'; Class S3 extends Aws\S3\S3Client{ -} \ No newline at end of file +} diff --git a/includes/globals.php b/includes/globals.php index ba95606..19e6b06 100644 --- a/includes/globals.php +++ b/includes/globals.php @@ -90,6 +90,11 @@ function social_line($social, $value): string $color = "#39E09B"; $name = "Linktree"; break; + default: + $icon = "fa-solid fa-link"; + $url = $value; + $name = "Website"; + break; } return "