diff options
author | Gitea <gitea@fake.local> | 2021-11-10 17:53:50 +0100 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2021-11-10 17:53:50 +0100 |
commit | 8fabf77b2a7720a357c63817c07035a9908818a0 (patch) | |
tree | d689fcac1403e2473010fe80bc337599a78c21a4 /Neutron-trunk/cms-special/version/index.php | |
parent | 7b4af63a90a726b98a59b83e53f040a7a566a11d (diff) | |
download | electrode-8fabf77b2a7720a357c63817c07035a9908818a0.tar.gz electrode-8fabf77b2a7720a357c63817c07035a9908818a0.tar.bz2 electrode-8fabf77b2a7720a357c63817c07035a9908818a0.zip |
Update
Diffstat (limited to 'Neutron-trunk/cms-special/version/index.php')
-rw-r--r-- | Neutron-trunk/cms-special/version/index.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/Neutron-trunk/cms-special/version/index.php b/Neutron-trunk/cms-special/version/index.php deleted file mode 100644 index d6d1046..0000000 --- a/Neutron-trunk/cms-special/version/index.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php require_once "../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?> -<?php - -require $_SERVER['DOCUMENT_ROOT'] . "/api/lang/processor.php"; -require_once $_SERVER['DOCUMENT_ROOT'] . "/api/renderer/main.php"; -$buffer = ""; // Initialiser un nouveau tampon vide - -function buffer(string $value) { - global $buffer; - $buffer = $buffer . $value; -} - -buffer("<p>" . $lang["version"]["workswith"] . "<b><a href=\"" . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/public") . "\" target=\"_blank\">Neutron</a> " . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/version") . " \"" . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/codename") . "\"</b> ("); -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, " . "PHP " . PHP_VERSION . ", " . php_uname('s') . " " . php_uname('m') . " " . php_uname('r') . ")"); - } -} else { - buffer("PHP " . PHP_VERSION . ", " . php_uname('s') . " " . php_uname('m') . " " . php_uname('r') . ")"); -} -buffer($lang["version"]["renderer"][0] . "<b>" . $_RENDERER . $lang["version"]["renderer"][1] . $_VERSION . "</b>" . $lang["version"]["providedby"] . "<a href=\"https://minteck.ro.lt\" target=\"_blank\">Minteck</a>" . $lang["version"]["description"] . "</p>"); -buffer("<p>" . $lang["version"]["freesoftware"][0] . "<a href=\"https://www.gnu.org/licenses/gpl-3.0.html\" target=\"_blank\">" . $lang["version"]["freesoftware"][1] . "</a>" . $lang["version"]["freesoftware"][2] . "<a href=\"https://www.gnu.org/licenses/gpl-3.0.html\" target=\"_blank\">" . $lang["version"]["freesoftware"][3] . "</a>" . $lang["version"]["freesoftware"][4] . "</p>"); -buffer("<p>" . $lang["version"]["warranty"][0] . "<a href=\"https://www.gnu.org/licenses/gpl-3.0.html\" target=\"_blank\">" . $lang["version"]["warranty"][1] . "</a>" . $lang["version"]["warranty"][2] . "</p>"); - -buffer("<h2>" . $lang["version"]["resources"] . "</h2>"); -buffer("<ul><li><a href=\"" . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/bugs") . "/set_project.php?project_id=1\" target=\"_blank\">" . $lang["version"]["support"] . "</a></li>"); -buffer("<li><a href=\"https://minteck.ro.lt/creations/dev/neutron\" target=\"_blank\">" . $lang["version"]["minteck"] . "</a></li>"); - -renderSpecial($buffer, $lang["version"]["title"]); - -?> |