From 529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 15:38:16 +0200 Subject: Update --- Neutron-trunk/cms-special/version/index.php | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Neutron-trunk/cms-special/version/index.php (limited to 'Neutron-trunk/cms-special/version') diff --git a/Neutron-trunk/cms-special/version/index.php b/Neutron-trunk/cms-special/version/index.php new file mode 100644 index 0000000..840de2d --- /dev/null +++ b/Neutron-trunk/cms-special/version/index.php @@ -0,0 +1,36 @@ + +" . $lang["version"]["workswith"] . "Neutron " . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/version") . " \"" . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/codename") . "\" ("); +if (isset($__electrode) && isset($__electrode_version) && isset($__electrode_node_version)) { + buffer("Electrode " . $__electrode_version . ", NodeJS " . $__electrode_node_version . ", "); +} +if (file_exists($GLOBALS["ORIGINAL_DOCUMENT_ROOT"] . "/NeutronCloud") && is_file($GLOBALS["ORIGINAL_DOCUMENT_ROOT"] . "/NeutronCloud")) { + if (isset($__electrode) && isset($__electrode_version) && isset($__electrode_node_version)) { + buffer("Electrode " . $__electrode_version . ", NodeJS " . $__electrode_node_version . ", Neutron Cloud)"); + } else { + buffer("Neutron Cloud)"); + } +} else { + buffer("PHP " . PHP_VERSION . ", " . php_uname('s') . " " . php_uname('m') . " " . php_uname('r') . ")"); +} +buffer($lang["version"]["renderer"][0] . "" . $_RENDERER . $lang["version"]["renderer"][1] . $_VERSION . "" . $lang["version"]["providedby"] . "Minteck" . $lang["version"]["description"] . "

"); +buffer("

" . $lang["version"]["freesoftware"][0] . "" . $lang["version"]["freesoftware"][1] . "" . $lang["version"]["freesoftware"][2] . "" . $lang["version"]["freesoftware"][3] . "" . $lang["version"]["freesoftware"][4] . "

"); +buffer("

" . $lang["version"]["warranty"][0] . "" . $lang["version"]["warranty"][1] . "" . $lang["version"]["warranty"][2] . "

"); + +buffer("

" . $lang["version"]["resources"] . "

"); +buffer("