summaryrefslogtreecommitdiff
path: root/includes/fragments/system.inc
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-06-03 14:10:08 +0200
committerRaindropsSys <contact@minteck.org>2023-06-03 14:10:08 +0200
commitcc2a438199b02c78e5b2e2b71de8e56f6617eae9 (patch)
tree7ddbeba11a3c16ada13663e7b3bba9bef0f96ca6 /includes/fragments/system.inc
parent48afc99d05c7bcd54231f340635f5102a03fbda4 (diff)
downloadpluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.gz
pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.bz2
pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.zip
Updated 15 files (automated)
Diffstat (limited to 'includes/fragments/system.inc')
-rw-r--r--includes/fragments/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/fragments/system.inc b/includes/fragments/system.inc
index 030c743..ad7db76 100644
--- a/includes/fragments/system.inc
+++ b/includes/fragments/system.inc
@@ -20,7 +20,7 @@
<br>
<div id="page-content">
- <?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID/content.html") ?>
+ <?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID/content.html") ? file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID/content.html") : "" ?>
</div>
<?php if ($system === "cloudburst") cloudburst(true); elseif ($system === "raindrops") raindrops(true); elseif ($isLoggedIn || $isLowerLoggedIn) other(true); ?>
</div>