Fix more things caused by website migration

This commit is contained in:
Guangcong Luo 2020-07-28 20:07:08 -04:00
parent 2a78a4b6ac
commit 38b66ef5ec
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -49,5 +49,6 @@ package-lock.json
/replays/theme/wrapper.inc.php
/website/.well-known/
/website/.pages-cached/
/website/files/
/website/images/

View File

@ -4,6 +4,6 @@
"version": "0.0.1",
"description": "CMS for Pokemon Showdown pages",
"dependencies": {
"showdown": "^1.9.0"
"showdown": "^1.9.1"
}
}

View File

@ -113,7 +113,7 @@ if (@$_REQUEST['user']) {
}
if ($authLevel >= 3) {
file_put_contents('/var/www/html/pokemonshowdown.com/lib/altaccesslog.txt', "{$curuser['username']} - $userid\n", FILE_APPEND);
file_put_contents(__DIR__ . '/../config/altaccesslog.txt', "{$curuser['username']} - $userid\n", FILE_APPEND);
}
if (isset($_REQUEST['json'])) {