Commit Graph

5 Commits

Author SHA1 Message Date
Benjamin Southall
0feab91f31 Fix Content-Type header typographical error 2016-09-23 22:26:12 +09:00
Michael Walker
afc2d2e4e1 Implement priority banners.
If the directory "banners_priority" exists and contains files, a file
from it is served 33% of the time, an a file from "banners" 66% of the
time.

This may seem like an odd definition of "priority", but assuming far
fewer priority banners than normal banners, this gives them extra weight
in the selection. Before, any 1 banner in 100 had a 1% chance of being
served; now if that banner is a priority banner it has a 33% chance.
2016-08-20 00:54:56 +01:00
Kashire
9679f970cb Update b.php
added path barrucadu's suggestion, not sure why I didn't see it for like 3 days.
2015-09-22 19:25:17 -05:00
lolicon
f3c8f0248e fixed stream spit | tested on home-server, works fine. 2015-09-19 09:50:50 -05:00
Michael Walker
d14927b8d4 Add random banner display 2014-09-28 23:06:18 +00:00