mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-10 09:18:41 +00:00
96d4a3ecf7
Due to historical reasons, the code is in subfolder "1". With SVN removal, we place the code back and remove the annoying "1" folder.
13 lines
186 B
PHP
13 lines
186 B
PHP
<?php
|
|
crsf_defend();
|
|
Auth::logout();
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
var prevUrl = document.referrer;
|
|
if (!prevUrl) {
|
|
prevUrl = '/';
|
|
};
|
|
window.location.href = prevUrl;
|
|
</script>
|