Framework-Version im Template abfragen

  • So auf die Schnelle:

    Code
    {if 'WSC_API_VERSION'|defined}
        {if WSC_API_VERSION == 2017}
            WoltLab Suite 3.1
        {else if WSC_API_VERSION == 2018 || WSC_API_VERSION == 2019}
            WoltLab Suite 5.2
        {/if}
    {else}
    WoltLab Suite 3.0
    {/if}

    Keine Ahnung ob es funktioniert oder richtig ist 🙈

    Wir😳leben😳auf😳einer😳Kugel😳und😳du😳wunderst😳dich😳ernsthaft😳über😳etwas😳



    🐶 x 27 ♥️ x 248

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!