aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/api/engine-cyclic/includes/getPageName.php
diff options
context:
space:
mode:
Diffstat (limited to 'Neutron-trunk/api/engine-cyclic/includes/getPageName.php')
-rw-r--r--Neutron-trunk/api/engine-cyclic/includes/getPageName.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/Neutron-trunk/api/engine-cyclic/includes/getPageName.php b/Neutron-trunk/api/engine-cyclic/includes/getPageName.php
deleted file mode 100644
index e364493..0000000
--- a/Neutron-trunk/api/engine-cyclic/includes/getPageName.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-function getPageName() {
- rlgps("getPageName() call");
- global $MPCMSRendererPageMarkup;
- global $MPCMSRendererPageMarkupDN;
- global $MPCMSRendererPageNameValue;
-
- if (isset($MPCMSRendererPageMarkup) && isset($MPCMSRendererPageMarkupDN)) {
- return $MPCMSRendererPageMarkupDN;
- } else {
- if ($MPCMSRendererPageNameValue == "index") {
- return file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/sitename");
- } else {
- return file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/" . $MPCMSRendererPageNameValue . "/pagename");
- }
- }
-} \ No newline at end of file