aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorRasmus Fuhse <fuhse@data-quest.de>2022-12-07 15:13:49 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-12-07 15:13:49 +0000
commitf9248db346f5b647c7c9e32b99cf6ef1faca2f52 (patch)
treed67789a8d97018ca3156d2ee80f9e5d874e18fbe /cli
parentdc24c8991022fd9b0036e2fa48e7cc7da8e83710 (diff)
Resolve "Twillo-Generate-Private speichert im falschen Pfad"
Closes #1864 Merge request studip/studip!1221
Diffstat (limited to 'cli')
-rw-r--r--cli/Commands/Twillo/PrivateKeys.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/Commands/Twillo/PrivateKeys.php b/cli/Commands/Twillo/PrivateKeys.php
index 830df9f..06dd121 100644
--- a/cli/Commands/Twillo/PrivateKeys.php
+++ b/cli/Commands/Twillo/PrivateKeys.php
@@ -25,8 +25,8 @@ final class PrivateKeys extends AbstractCommand
{
$io = new SymfonyStyle($input, $output);
$appId = str_replace(' ', '-', Config::get()->UNI_NAME_CLEAN);
- $privateKey = $GLOBALS['ABSOLUTE_PATH_STUDIP'] . '/config/twillo-private.key';
- $properties = $GLOBALS['ABSOLUTE_PATH_STUDIP'] . '/config/twillo.properties.xml';
+ $privateKey = $GLOBALS['STUDIP_BASE_PATH'] . '/config/twillo-private.key';
+ $properties = $GLOBALS['STUDIP_BASE_PATH'] . '/config/twillo.properties.xml';
if (!file_exists($privateKey)) {
$key = EduSharingHelper::generateKeyPair();