Fixed incorrect handling of microtime

This commit is contained in:
Andreas Oesterreicher
2017-07-03 18:31:48 +02:00
parent a06f54ca8a
commit 4dd46fc55f
14 changed files with 398 additions and 410 deletions
+1 -3
View File
@@ -31,7 +31,7 @@ require_once('../include/datum.class.php');
require_once('../include/benutzerberechtigung.class.php');
require_once('../include/functions.inc.php');
$SOAPServer = new SoapServer(APP_ROOT."/soap/ressource.wsdl.php?".microtime());
$SOAPServer = new SoapServer(APP_ROOT."/soap/ressource.wsdl.php?".microtime(true));
$SOAPServer->addFunction("saveRessource");
$SOAPServer->handle();
@@ -82,5 +82,3 @@ function saveRessource($username, $passwort, $ressource)
return new SoapFault("Server", $ressourceNew->errormsg);
}
?>