aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/api/renderer/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'Neutron-trunk/api/renderer/main.php')
-rw-r--r--Neutron-trunk/api/renderer/main.php24
1 files changed, 0 insertions, 24 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