summaryrefslogtreecommitdiff
path: root/emotes/index.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-12-11 01:20:50 +0500
committerilotterytea <iltsu@alright.party>2025-12-11 01:20:50 +0500
commit63d9bc6496c3017142eb2cdf1e8834c5843702f4 (patch)
treefe54669ca3eefd1636e3d7c0d506c06148e4a4c6 /emotes/index.php
parentc79bb71e7694d4674c28a7e1192dd644e41fbfdb (diff)
fix: use include_once instead of include
Diffstat (limited to 'emotes/index.php')
-rw-r--r--emotes/index.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/emotes/index.php b/emotes/index.php
index aae7683..bcbb608 100644
--- a/emotes/index.php
+++ b/emotes/index.php
@@ -1,10 +1,10 @@
<?php
-include "{$_SERVER['DOCUMENT_ROOT']}/lib/emote.php";
-include "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/emote.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php";
include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php";
-include "{$_SERVER['DOCUMENT_ROOT']}/lib/partials.php";
-include "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php";
-include "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/partials.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php";
authorize_user();