aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArne Schröder, M. A. <schroeder@data-quest.de>2025-10-22 11:05:10 +0000
committerRasmus Fuhse <fuhse@data-quest.de>2025-10-22 11:05:10 +0000
commit2a1d58f4e011c1118a6a034fc0677d8bbc44cb5d (patch)
tree3bdadc4d6bc44eb32199ca2fb243bb99efbc78ff /lib
parent37a03551c47ffa5d8654abdbdcb3c05dc7160a0e (diff)
Resolve "Neue ILIAS-Installation hinzufügen kaputt (Stud.IP lügt)"
Closes #5251 Merge request studip/studip!4498
Diffstat (limited to 'lib')
-rw-r--r--lib/ilias_interface/ConnectedIlias.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ilias_interface/ConnectedIlias.php b/lib/ilias_interface/ConnectedIlias.php
index e6c4f27..440db21 100644
--- a/lib/ilias_interface/ConnectedIlias.php
+++ b/lib/ilias_interface/ConnectedIlias.php
@@ -238,7 +238,7 @@ class ConnectedIlias
);
// check if url exists
- $check = @get_headers($url . 'login.php', false, $stream_context);
+ $check = @get_headers($url . '/login.php?cmd=force_login', false, $stream_context);
if (strpos($check[0], '200') === false) {
return $info;
} else {
@@ -324,7 +324,7 @@ class ConnectedIlias
'timeout',
$this->ilias_config['http_request_timeout']
);
- $check = @get_headers($this->ilias_config['url'] . 'webservice/soap/server.php', false, $stream_context);
+ $check = @get_headers($this->ilias_config['url'] . '/webservice/soap/server.php', false, $stream_context);
if (strpos($check[0], '200') === false) {
$this->error[] = sprintf(_('Die URL "%s" ist nicht erreichbar.'), $this->ilias_config['url']);
return false;