diff --git a/src/admin/modals.php b/src/admin/modals.php index 814697b..fdb24ca 100644 --- a/src/admin/modals.php +++ b/src/admin/modals.php @@ -613,6 +613,19 @@ - + + + \ No newline at end of file diff --git a/src/admin/settings.php b/src/admin/settings.php index de22688..8e801fe 100644 --- a/src/admin/settings.php +++ b/src/admin/settings.php @@ -3,13 +3,17 @@ include "session.php"; include "functions.php"; -if (checkPermissions()) { -} else { +if (!checkPermissions()) { goHome(); } $rSettings = getSettings(); $rStreamArguments = getStreamArguments(); + +$GeoLite2 = json_decode(file_get_contents(BIN_PATH . "maxmind/version.json"), true)["geolite2_version"]; +$GeoISP = json_decode(file_get_contents(BIN_PATH . "maxmind/version.json"), true)["geoisp_version"]; +$Nginx = trim(shell_exec(BIN_PATH . "nginx/sbin/nginx -v 2>&1 | cut -d'/' -f2")); + $_TITLE = "Settings"; include "header.php"; echo '
Logs +
+ type="checkbox" data-plugin="switchery" class="js-switch" data-color="#039cfd" />
+ id="disable_ts_allow_restream" type="checkbox" data-plugin="switchery" class="js-switch" data-color="#039cfd" />
+ id="disable_hls_allow_restream" type="checkbox" data-plugin="switchery" class="js-switch" data-color="#039cfd" />
+ id="disable_rtmp_allow_restream" type="checkbox" data-plugin="switchery" class="js-switch" data-color="#039cfd" />
+ id="county_override_1st" type="checkbox" data-plugin="switchery" class="js-switch" data-color="#039cfd" />
- data-plugin="switchery" class="js-switch" - data-color="#039cfd" /> + type="checkbox" data-plugin="switchery" class="js-switch" data-color="#039cfd" />
- data-plugin="switchery" class="js-switch" - data-color="#039cfd" /> + id="disallow_empty_user_agents" type="checkbox" data-plugin="switchery" class="js-switch" data-color="#039cfd" /> +
+
+
+
">
+
">
+
+
+
">
+
data-plugin="switchery" class="js-switch" data-color="#039cfd" />
+
+
+
data-plugin="switchery" class="js-switch" data-color="#039cfd" />
+
data-plugin="switchery" class="js-switch" data-color="#039cfd" />
+
+
+
data-plugin=" switchery" class="js-switch" data-color="#039cfd" />
-
@@ -1278,21 +1231,16 @@ if (!empty($_SERVER["HTTP_X_REQUESTED_WITH"]) || !strtolower($_SERVER["HTTP_X_RE id="read_buffer_size" name="read_buffer_size" value="">
-
- -"> + id="connection_sync_timer" name="connection_sync_timer" value="">
-
@@ -2224,6 +2172,121 @@ if (!empty($_SERVER["HTTP_X_REQUESTED_WITH"]) || !strtolower($_SERVER["HTTP_X_RE
+
+
+
+

Versions

+ + + + + + + + + + + + + + + +
Geolite2 Version + + GeoIP2-ISP Version + +
PHP + + Nginx + +
+ +

Support project

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameAddressQRCopy
Bitcoin (BTC)1EP3XFHVk1fF3kV6zSg7whZzQdUpVMcAQz + + + +
Ethereum (ETH)0x613411dB8cFbaeaCC3A075EF39F41DFaaab4E1B8 + + + +
Litecoin (LTC)MFmn43WF2k2bsAQJe8rRmq2sKke95JmqC4 + + + +
USDT (ERC-20)0x034a2263a15Ade8606cC60181f12E5c2f0Ac59C6 + + + +
+
+
+
@@ -2242,7 +2305,6 @@ if (!empty($_SERVER["HTTP_X_REQUESTED_WITH"]) || !strtolower($_SERVER["HTTP_X_RE
-