aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/policy/public/session/set-pre.php
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/www/policy/public/session/set-pre.php')
-rw-r--r--mayor-orig/www/policy/public/session/set-pre.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/mayor-orig/www/policy/public/session/set-pre.php b/mayor-orig/www/policy/public/session/set-pre.php
new file mode 100644
index 00000000..d3e77776
--- /dev/null
+++ b/mayor-orig/www/policy/public/session/set-pre.php
@@ -0,0 +1,10 @@
+<?php
+
+ if (_RIGHTS_OK !== true) die();
+
+ global $_JSON;
+ $layout = readVariable($_GET['layout'],'id',0);
+ $_SESSION['pageLayout'] = $layout;
+ $_JSON['success'] = true;
+ $_JSON['pageLayout'] = $layout;
+?>