mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:08:42 +00:00
This commit is contained in:
parent
6ee92bc5ee
commit
df6024c99f
@ -9,7 +9,7 @@ class UOJLocale {
|
|||||||
public static function init() {
|
public static function init() {
|
||||||
if (UOJRequest::get('locale')) {
|
if (UOJRequest::get('locale')) {
|
||||||
UOJLocale::setLocale(UOJRequest::get('locale'));
|
UOJLocale::setLocale(UOJRequest::get('locale'));
|
||||||
redirectTo(UOJContext::requestURI());
|
redirectTo(UOJContext::requestPath());
|
||||||
}
|
}
|
||||||
|
|
||||||
self::requireModule('basic');
|
self::requireModule('basic');
|
||||||
|
Loading…
Reference in New Issue
Block a user