mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 06:54:04 +00:00
Fixed incorrect handling of microtime
This commit is contained in:
@@ -31,7 +31,7 @@ require_once('../include/'.EXT_FKT_PATH.'/serviceterminal.inc.php');
|
||||
|
||||
ini_set("soap.wsdl_cache_enabled", "0");
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT.'soap/kartenverlaengerung.wsdl.php?'.microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT.'soap/kartenverlaengerung.wsdl.php?'.microtime(true));
|
||||
$SOAPServer->addFunction('getNumber');
|
||||
$SOAPServer->handle();
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ require_once('../include/studiengang.class.php');
|
||||
|
||||
ini_set("soap.wsdl_cache_enabled", "0");
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/lehrveranstaltung.wsdl.php?".microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/lehrveranstaltung.wsdl.php?".microtime(true));
|
||||
$SOAPServer->addFunction("getLehrveranstaltungFromId");
|
||||
$SOAPServer->addFunction("getLehrveranstaltungFromStudiengang");
|
||||
$SOAPServer->handle();
|
||||
|
||||
+1
-3
@@ -32,7 +32,7 @@ require_once('../include/functions.inc.php');
|
||||
require_once('../include/benutzerberechtigung.class.php');
|
||||
require_once('../include/dms.class.php');
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/notiz.wsdl.php?".microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/notiz.wsdl.php?".microtime(true));
|
||||
$SOAPServer->addFunction("saveNotiz");
|
||||
$SOAPServer->addFunction("deleteNotiz");
|
||||
$SOAPServer->addFunction("deleteDokument");
|
||||
@@ -190,5 +190,3 @@ function setErledigt($notiz_id, $erledigt)
|
||||
return new SoapFault("Server", "Fehler beim Laden");
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ require_once('../include/dms.class.php');
|
||||
require_once('../include/functions.inc.php');
|
||||
require_once('../include/benutzerberechtigung.class.php');
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/projekt.wsdl.php?".microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/projekt.wsdl.php?".microtime(true));
|
||||
$SOAPServer->addFunction("saveProjekt");
|
||||
$SOAPServer->addFunction("saveProjektdokumentZuordnung");
|
||||
$SOAPServer->handle();
|
||||
@@ -111,5 +111,3 @@ function saveProjektdokumentZuordnung($username, $passwort, $projekt_kurzbz, $pr
|
||||
return new SoapFault("Server", $dms->errormsg);
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ require_once('../include/datum.class.php');
|
||||
require_once('../include/functions.inc.php');
|
||||
require_once('../include/benutzerberechtigung.class.php');
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/projektphase.wsdl.php?".microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/projektphase.wsdl.php?".microtime(true));
|
||||
$SOAPServer->addFunction("saveProjektphase");
|
||||
$SOAPServer->addFunction("deleteProjektphase");
|
||||
$SOAPServer->handle();
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ require_once('../include/datum.class.php');
|
||||
require_once('../include/functions.inc.php');
|
||||
require_once('../include/benutzerberechtigung.class.php');
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/ressource_projekt.wsdl.php?".microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/ressource_projekt.wsdl.php?".microtime(true));
|
||||
$SOAPServer->addFunction("saveProjektRessource");
|
||||
$SOAPServer->addFunction("deleteProjektRessource");
|
||||
$SOAPServer->handle();
|
||||
@@ -123,5 +123,3 @@ function deleteProjektRessource($username, $passwort, $projektRessource)
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ require_once('../include/webservicelog.class.php');
|
||||
|
||||
ini_set("soap.wsdl_cache_enabled", "0");
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/semesterticket.wsdl.php?".microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/semesterticket.wsdl.php?".microtime(true));
|
||||
$SOAPServer->addFunction("verifyData");
|
||||
$SOAPServer->handle();
|
||||
|
||||
@@ -225,5 +225,3 @@ function validateRequest($parameter)
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ $db = new basis_db();
|
||||
|
||||
if(isset($_REQUEST['submit']))
|
||||
{
|
||||
$client = new SoapClient(APP_ROOT."/soap/semesterticket.wsdl.php?".microtime());
|
||||
$client = new SoapClient(APP_ROOT."/soap/semesterticket.wsdl.php?".microtime(true));
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ require_once('stip.class.php');
|
||||
|
||||
ini_set("soap.wsdl_cache_enabled", "0");
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/stip.wsdl.php?".microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/stip.wsdl.php?".microtime(true));
|
||||
$SOAPServer->addFunction("GetStipendienbezieherStip");
|
||||
$SOAPServer->addFunction("SendStipendienbezieherStipError");
|
||||
$SOAPServer->handle();
|
||||
|
||||
@@ -97,7 +97,7 @@ $db = new basis_db();
|
||||
|
||||
if(isset($_REQUEST['submit']))
|
||||
{
|
||||
$client = new SoapClient(APP_ROOT."/soap/stip.wsdl.php?".microtime());
|
||||
$client = new SoapClient(APP_ROOT."/soap/stip.wsdl.php?".microtime(true));
|
||||
|
||||
$username = $_REQUEST['username'];
|
||||
$passwort = $_REQUEST['password'];
|
||||
|
||||
@@ -95,7 +95,7 @@ $db = new basis_db();
|
||||
|
||||
if(isset($_REQUEST['submit']))
|
||||
{
|
||||
$client = new SoapClient(APP_ROOT."/soap/stip.wsdl.php?".microtime());
|
||||
$client = new SoapClient(APP_ROOT."/soap/stip.wsdl.php?".microtime(true));
|
||||
|
||||
$username = $_REQUEST['username'];
|
||||
$passwort = $_REQUEST['password'];
|
||||
|
||||
@@ -26,7 +26,7 @@ require_once('../include/webservicerecht.class.php');
|
||||
require_once('../include/studiensemester.class.php');
|
||||
ini_set("soap.wsdl_cache_enabled", "0");
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/student.wsdl.php?".microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT."/soap/student.wsdl.php?".microtime(true));
|
||||
$SOAPServer->addFunction("getStudentFromUid");
|
||||
$SOAPServer->addFunction("getStudentFromMatrikelnummer");
|
||||
$SOAPServer->addFunction("getStudentFromStudiengang");
|
||||
|
||||
+1
-3
@@ -27,7 +27,7 @@ header("Pragma: no-cache");
|
||||
|
||||
require_once('../config/vilesci.config.inc.php');
|
||||
|
||||
$SOAPServer = new SoapServer(APP_ROOT."soap/test.wsdl.php?".microtime());
|
||||
$SOAPServer = new SoapServer(APP_ROOT."soap/test.wsdl.php?".microtime(true));
|
||||
$SOAPServer->addFunction("myTest");
|
||||
$SOAPServer->handle();
|
||||
|
||||
@@ -44,5 +44,3 @@ function myTest($foo)
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user