mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-13 02:58:42 +00:00
9c21c957c9
To support subdomain cookies, an extra "." is added to the domain when setting the cookies. However, this strategy fails on "localhost", because browsers do not recognize ".localhost". So I add a check for this so that "localhost" is used as the cookie domain in this case. |
||
---|---|---|
.. | ||
Auth.php | ||
Cookie.php | ||
DB.php | ||
HTML.php | ||
Paginator.php | ||
Route.php | ||
Session.php | ||
UOJBlogEditor.php | ||
UOJConfig.php | ||
UOJContext.php | ||
UOJLocale.php | ||
UOJMail.php | ||
UOJTime.php | ||
Upgrader.php |