Fixed buttons not displaying correctly when using a different web root.
Merge pull request #250 from dale2507/ThePirateBay

Fixed buttons not displaying correctly when using a different web root.