forked from rDrama/rDrama
dont play music in wpd for non logged in
parent
8bf336eed0
commit
1495dbe5d4
|
@ -1,4 +1,4 @@
|
|||
{% if not (v and v.poor) and (not v or v.event_music) and not (sub and sub.name == 'music') %}
|
||||
{% if not (SITE_NAME == 'WPD' and not v) and not (v and v.poor) and (not v or v.event_music) and not (sub and sub.name == 'music') %}
|
||||
{% if not song %}
|
||||
{% set path = "assets/event/media/music" %}
|
||||
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?v=45' %}
|
||||
|
|
Loading…
Reference in New Issue