I've reorganized some code too. The function could use a better name.

Comments

killes@www.drop.org’s picture

StatusFileSize
new2.37 KB

Oops, the previous patch had an error.

mikeytown2’s picture

StatusFileSize
new4.89 KB

Do you see any issues with placing the auth logic outside of ($ip == -1)? I've also added in the port number as well. Changed $_SERVER['PHP_AUTH_pw'] to $_SERVER['PHP_AUTH_PW'] as I believe this is a typo. Replaced all calls that have similar logic with a call to _advagg_build_url()

mikeytown2’s picture

Status: Needs review » Active

committed everything but the port number stuff; it is commented out.

mikeytown2’s picture

Status: Active » Fixed

eh, going to mark this as fixed. I can enable the port code if someone opens up an issue

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.