summaryrefslogtreecommitdiff
path: root/src/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.php')
-rw-r--r--src/config.php7
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