Commit graph

8 commits

Author SHA1 Message Date
Joshua Sherman
c865e74ebd Updated headers and dropped tests
The tests weren't complete nor were they being used so I dropped them. Since
this branch is still actively being maintained as it's the PHP 5.3 compatible
stuff I figured I should update the headers to have the current year and
explicitly show that it's PHP 5.3+ and not just PHP 5.
2014-01-26 21:35:56 -05:00
Josh Sherman
d96181c60f Q4 2013, seemed like a good time to update the copyright notices 2013-11-04 17:36:04 -05:00
Josh Sherman
b4d9b0e182 Added method to pull the user's IP
Browser::remoteIP();
2013-02-16 17:13:19 -05:00
Josh Sherman
bf15f592e9 Added an alias to take you home
Browser::goHome();
2013-02-16 15:04:38 -05:00
Josh Sherman
cbb75e7064 Added @geoffoliver attributes.
Geoff likes to exploit the URI and inject key/value pairs into it. It's not something I do, but I was intrigued enough to implement it. Basic usage is /path/to/page/id:123/spam:eggs. The variables are removed from the request variable as to not bork module loading and are made available via Browser::get('variable');
2013-02-04 23:34:09 -05:00
Josh Sherman
0c2aaafefc Fixed issue with nginx HTTPS global
Variable was set to an empty string and being evaluated as true.
2012-12-13 16:05:34 -05:00
Josh Sherman
2795abf531 Added isMobile() function to the Browser class 2012-10-14 14:01:56 -04:00
Josh Sherman
ed52ebe529 Added Browser Utility class
Only 2 methods right now, redirect() and status().
2012-10-14 13:56:59 -04:00