From ecb28fb0672d8401db6da927bab8ea2eff322a9d Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 11 Aug 2021 23:58:12 +0200 Subject: [PATCH] Plugin: LTI Provider: Change temp path for cache path - refs #3894 --- plugin/lti_provider/db/lti13_cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/lti_provider/db/lti13_cache.php b/plugin/lti_provider/db/lti13_cache.php index 8630b9a4d6..18804da5eb 100644 --- a/plugin/lti_provider/db/lti13_cache.php +++ b/plugin/lti_provider/db/lti13_cache.php @@ -36,7 +36,7 @@ class Lti13Cache implements Lti1p3Cache private function saveCache() { - file_put_contents(sys_get_temp_dir().'/lti_cache.txt', json_encode($this->cache)); + file_put_contents(api_get_path(SYS_ARCHIVE_PATH).'lti_cache.txt', json_encode($this->cache)); } public function cacheNonce($nonce): Lti13Cache