comparison save.php @ 562:3ddf4feceab7 Dev_main

Bug #1620: Defaults to Europe/London timezone.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 23 Feb 2016 16:57:06 +0000
parents 80796ff2ae66
children 27a96b51255c
comparison
equal deleted inserted replaced
561:4b860dd27fb8 562:3ddf4feceab7
1 <?php 1 <?php
2 date_default_timezone_set("Europe/London");
2 header('Access-Control-Allow-Origin: *'); 3 header('Access-Control-Allow-Origin: *');
3 header("Content-type: text/xml"); 4 header("Content-type: text/xml");
4 error_reporting(0); 5 error_reporting(0);
5 $postText = file_get_contents('php://input'); 6 $postText = file_get_contents('php://input');
6 $sha1_hash = sha1($postText); 7 $sha1_hash = sha1($postText);