diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-27 22:24:05 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-27 22:24:05 +0500 |
| commit | 067348835299febed3080ab61ffca365cd07743f (patch) | |
| tree | 5abe32ea3837e425612f3b6d939ee06f7baff438 /src/config.php | |
| parent | 69355b508f0fd012b08c773b950e7b0be96c9185 (diff) | |
feat: change username and pfp
Diffstat (limited to 'src/config.php')
| -rw-r--r-- | src/config.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/config.php b/src/config.php index 3f4c52d..9191bb9 100644 --- a/src/config.php +++ b/src/config.php @@ -12,4 +12,9 @@ define("RATING_NAMES", [ // UPLOADS define("ANONYMOUS_UPLOAD", false); -define("ANONYMOUS_DEFAULT_NAME", "chud");
\ No newline at end of file +define("ANONYMOUS_DEFAULT_NAME", "chud"); + +// ACCOUNTS +define("ACCOUNT_USERNAME_REGEX", "/^[A-Za-z0-9_]+$/"); +define("ACCOUNT_USERNAME_MAX_LENGTH", 20); +define("ACCOUNT_PFP_MAX_SIZE", [128, 128]);
\ No newline at end of file |
