aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/api/renderer
diff options
context:
space:
mode:
authorGitea <gitea@fake.local>2021-11-10 17:53:50 +0100
committerGitea <gitea@fake.local>2021-11-10 17:53:50 +0100
commit8fabf77b2a7720a357c63817c07035a9908818a0 (patch)
treed689fcac1403e2473010fe80bc337599a78c21a4 /Neutron-trunk/api/renderer
parent7b4af63a90a726b98a59b83e53f040a7a566a11d (diff)
downloadelectrode-8fabf77b2a7720a357c63817c07035a9908818a0.tar.gz
electrode-8fabf77b2a7720a357c63817c07035a9908818a0.tar.bz2
electrode-8fabf77b2a7720a357c63817c07035a9908818a0.zip
Update
Diffstat (limited to 'Neutron-trunk/api/renderer')
-rw-r--r--Neutron-trunk/api/renderer/main.php24
-rw-r--r--Neutron-trunk/api/renderer/render.php2
2 files changed, 0 insertions, 26 deletions
diff --git a/Neutron-trunk/api/renderer/main.php b/Neutron-trunk/api/renderer/main.php
deleted file mode 100644
index c873f60..0000000
--- a/Neutron-trunk/api/renderer/main.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-global $_VERSION;
-
-global $_FNSN_DUMP_STARTDATE;
-$_FNSN_DUMP_STARTDATE = new DateTime("now");
-require_once $_SERVER['DOCUMENT_ROOT'] . "/api/engine-cyclic/includes/cache.php";
-ob_start();
-
-function rlgps(string $message) {
- file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/engine-cyclic.log", file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/engine-cyclic.log") . "\n" . "... " . $message);
-}
-
-if (!file_exists($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/oldRenderer")) {
- $_VERSION = trim(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/cyclic_version"));
- $_RENDERER = "Neutron Copper";
- file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/engine-cyclic.log", "Using CyclicCMS version " . $_VERSION);
- require_once $_SERVER['DOCUMENT_ROOT'] . "/api/engine-cyclic/wrapper.php";
-} else {
- $_VERSION = trim(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/jaw_version"));
- $_RENDERER = "Neutron Titanium";
- file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/engine-cyclic.log", "Using JustAWebsite version " . $_VERSION);
- require_once $_SERVER['DOCUMENT_ROOT'] . "/api/engine-jaw/render.php";
-} \ No newline at end of file
diff --git a/Neutron-trunk/api/renderer/render.php b/Neutron-trunk/api/renderer/render.php
deleted file mode 100644
index 30f32c1..0000000
--- a/Neutron-trunk/api/renderer/render.php
+++ /dev/null
@@ -1,2 +0,0 @@
-<?php
-require_once "main.php"; \ No newline at end of file