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:
$Sender->AddCssFile('/plugins/SantaHat/design/santahat.css');
Change line 32 to:
echo Img('/plugins/SantaHat/design/'.$RandomHat, ArrayValue($RandomHat, self::$Hats));
Change line 24 to:
$Sender->AddCssFile('/plugins/SantaHat/design/santahat.css');
Change line 32 to:
echo Img('/plugins/SantaHat/design/'.$RandomHat, ArrayValue($RandomHat, self::$Hats));
Tagged:
0
Comments
@hoangminhthang
Check your config.php
If you have
$Configuration['Garden']['WebRoot'] = '';
Try to change it to
$Configuration['Garden']['WebRoot'] = '/';