Sonar fixes.
This commit is contained in:
parent
3666f491bd
commit
5db46c220c
5 changed files with 13 additions and 6 deletions
|
@ -67,5 +67,3 @@ class CustomCDN
|
||||||
$this->public = false;
|
$this->public = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -97,8 +97,12 @@ class Mix
|
||||||
if ($this->loadDJs) {
|
if ($this->loadDJs) {
|
||||||
require_once 'DJ.php';
|
require_once 'DJ.php';
|
||||||
$this->djs[] = new DJ($mix['dj1'], $this->db);
|
$this->djs[] = new DJ($mix['dj1'], $this->db);
|
||||||
if ($mix['dj2'] != null) $this->djs[] = new DJ($mix['dj2'], $this->db);
|
if ($mix['dj2'] != null) {
|
||||||
if ($mix['dj3'] != null) $this->djs[] = new DJ($mix['dj3'], $this->db);
|
$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);
|
$this->djs = array_filter($this->djs);
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,6 +90,11 @@ function social_line($social, $value): string
|
||||||
$color = "#39E09B";
|
$color = "#39E09B";
|
||||||
$name = "Linktree";
|
$name = "Linktree";
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
$icon = "fa-solid fa-link";
|
||||||
|
$url = $value;
|
||||||
|
$name = "Website";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return "
|
return "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue