summaryrefslogtreecommitdiff
path: root/lib/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config.php')
-rw-r--r--lib/config.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/config.php b/lib/config.php
index 73c2efb..bdc399b 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -11,5 +11,6 @@ define('DB_PASS', $c['database']['pass'] ?? null);
define('INSTANCE_NAME', $c['instance']['name'] ?? $_SERVER['HTTP_HOST']);
define('SOUND_DIRECTORY', $c['sound']['directory'] ?? "{$_SERVER['DOCUMENT_ROOT']}/static/userdata/sounds");
+define('SOUND_DIRECTORY_PREFIX', $c['sound']['directory_prefix'] ?? "/static/userdata/sounds");
define('IS_JSON_REQUEST', isset($_SERVER['HTTP_ACCEPT']) && str_contains($_SERVER['HTTP_ACCEPT'], 'application/json')); \ No newline at end of file