summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/timezone.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/ajax/timezone.php')
-rw-r--r--apps/files/ajax/timezone.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/ajax/timezone.php b/apps/files/ajax/timezone.php
new file mode 100644
index 00000000000..8e1d2aa1ec1
--- /dev/null
+++ b/apps/files/ajax/timezone.php
@@ -0,0 +1,6 @@
+<?php
+ // FIXME: this should start a secure session if forcessl is enabled
+ // see lib/base.php for an example
+ session_start();
+ $_SESSION['timezone'] = $_GET['time'];
+?>