disable songs on WPD
parent
9452967fc0
commit
aa7fa5279e
|
@ -1,4 +1,4 @@
|
|||
{% if not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %}
|
||||
{% if SITE_NAME != 'WPD' and not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %}
|
||||
{% if not song %}
|
||||
{% set path = "assets/media/event/music" %}
|
||||
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?v=45' %}
|
||||
|
|
Loading…
Reference in New Issue