Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

A small fix

This plugin doesn't work for me. After looking at the code I find this to fix it. Modify santahat.plugin.php:
Change line 24 to:
Change line 32 to:
echo Img('/plugins/SantaHat/design/'.$RandomHat, ArrayValue($RandomHat, self::$Hats));


  • Options
    Moderators please review and approve this plugin. It's very small with only some lines of code.
  • Options
    SS ✭✭
    It's weird. Hmm... why GetWebResource() doesn't return properly path to asset? @Tim

    Check your config.php
    If you have
    $Configuration['Garden']['WebRoot'] = '';
    Try to change it to $Configuration['Garden']['WebRoot'] = '/';
Sign In or Register to comment.