diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-11 01:20:50 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-11 01:20:50 +0500 |
| commit | 63d9bc6496c3017142eb2cdf1e8834c5843702f4 (patch) | |
| tree | fe54669ca3eefd1636e3d7c0d506c06148e4a4c6 /emotesets | |
| parent | c79bb71e7694d4674c28a7e1192dd644e41fbfdb (diff) | |
fix: use include_once instead of include
Diffstat (limited to 'emotesets')
| -rw-r--r-- | emotesets/addeditor.php | 4 | ||||
| -rw-r--r-- | emotesets/deleditor.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/emotesets/addeditor.php b/emotesets/addeditor.php index 08d1e41..0080276 100644 --- a/emotesets/addeditor.php +++ b/emotesets/addeditor.php @@ -1,7 +1,7 @@ <?php include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php"; -include "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; -include "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php"; if (!authorize_user(true)) { diff --git a/emotesets/deleditor.php b/emotesets/deleditor.php index 0476f37..0ff44a1 100644 --- a/emotesets/deleditor.php +++ b/emotesets/deleditor.php @@ -1,7 +1,7 @@ <?php include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php"; -include "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; -include "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php"; if (!authorize_user(true)) { |
