From d2dbcabc01c06ef1da80fdda5c9d3db6a8d44f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Tue, 23 Jan 2018 11:25:55 +0100 Subject: [PATCH 1/2] Wenn der Schlagwortdienst beim Upload von Arbeiten nicht erreichbar ist, wird jetzt ein Hinweistext angezeigt anstatt einer leeren Seite --- cis/private/lehre/swd.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cis/private/lehre/swd.php b/cis/private/lehre/swd.php index 8458dec72..dfdebfcdb 100644 --- a/cis/private/lehre/swd.php +++ b/cis/private/lehre/swd.php @@ -3,6 +3,9 @@ $url = "http://xgnd.bsz-bw.de/"; $zielfeld = "kontrollschlagwoerter"; $url = $url."?zielfeld=".$zielfeld; header('Content-Type: text/html; charset=utf-8'); -print file_get_contents($url); +$content = file_get_contents($url); +if($content) + print $content; +else + echo "Der Schlagwortdienst ist derzeit nicht erreichbar. Bitte füllen Sie die Schlagwörter manuell aus um den Upload abzuschließen"; ?> - From 03749d78903ca7494d5f45174ea2f8893be31cad Mon Sep 17 00:00:00 2001 From: Paolo Date: Tue, 23 Jan 2018 12:16:07 +0100 Subject: [PATCH 2/2] Cleaning time gitignore --- .gitignore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3eda1161d..247c57d2e 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ application/libraries/extensions/ application/models/extensions/ application/views/extensions/ application/widgets/extensions/ +application/logs/ tests/codeception/_output/* !/tests/codeception/_output/.placeholder tests/codeception/codeception.yml @@ -26,8 +27,5 @@ tests/codeception/tests/api.suite.yml tests/codeception/tests/functional.suite.yml tests/codeception/tests/acceptance.suite.yml tests/codeception/tests/unit.suite.yml -/submodules/d3 -bin -/application/logs/ /sparks/* /webdav/google.php