mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-17 05:27:46 +02:00
parent
c745fd8b28
commit
3a57538572
59 changed files with 417 additions and 399 deletions
|
|
@ -53,7 +53,7 @@ class PlatformModel extends Model
|
|||
public function getPlatforms(): array
|
||||
{
|
||||
if (! ($found = cache('platforms'))) {
|
||||
$baseUrl = rtrim(config('app')->baseURL, '/');
|
||||
$baseUrl = rtrim((string) config('app')->baseURL, '/');
|
||||
$found = $this->select(
|
||||
"*, CONCAT('{$baseUrl}/assets/images/platforms/',`type`,'/',`slug`,'.svg') as icon",
|
||||
)->findAll();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue