diff --git a/cli/Commands/Twillo/PrivateKeys.php b/cli/Commands/Twillo/PrivateKeys.php index 830df9f9e601ceb323be53c942e8683c09c4b701..06dd12177f2ad1b2cb0e75ff89852623f1dd37c8 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();