summaryrefslogtreecommitdiff
path: root/src/config.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-05-03 01:39:13 +0500
committerilotterytea <iltsu@alright.party>2025-05-03 01:39:13 +0500
commit64f0533dc1779e7cca5f2678f7ae560df8d922bb (patch)
treebe319637f1a6ae6839b3685d6348a528025a7248 /src/config.php
parent0c25e3dd54225b126ad8e48e10f4fbde8ce26ec5 (diff)
feat: config sample and more config options
Diffstat (limited to 'src/config.php')
-rw-r--r--src/config.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/config.php b/src/config.php
deleted file mode 100644
index f5056ce..0000000
--- a/src/config.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-define("CLIENT_REQUIRES_JSON", isset($_SERVER["HTTP_ACCEPT"]) && $_SERVER["HTTP_ACCEPT"] == "application/json");
-
-// DATABASE
-define("DB_USER", "kochan");
-define("DB_PASS", "kochan");
-define("DB_URL", "mysql:host=localhost;dbname=tinyemotes;port=3306");
-
-// RATINGS
-define("RATING_NAMES", [
- "-1" => "COAL",
- "1" => "GEM",
-]);
-
-// UPLOADS
-define("ANONYMOUS_UPLOAD", false);
-define("ANONYMOUS_DEFAULT_NAME", "chud");
-
-// EMOTES
-define("EMOTE_NAME_MAX_LENGTH", 100);
-define("EMOTE_COMMENT_MAX_LENGTH", 100);
-define("EMOTE_VISIBILITY_DEFAULT", 2);
-
-// MODERATION
-define("MOD_SYSTEM_DASHBOARD", true);
-define("MOD_EMOTES_APPROVE", true);
-
-// ACCOUNTS
-define("ACCOUNT_USERNAME_REGEX", "/^[A-Za-z0-9_]+$/");
-define("ACCOUNT_USERNAME_MAX_LENGTH", 20);
-define("ACCOUNT_PFP_MAX_SIZE", [128, 128]);
-define("ACCOUNT_BANNER_MAX_SIZE", [1920, 1080]); \ No newline at end of file