We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f84751a commit 2a0ea9eCopy full SHA for 2a0ea9e
functions/tips_scopes/index.php
@@ -36,7 +36,7 @@ function scopeDemo(ServerRequestInterface $request): string
36
// must write their values to a file.
37
// (All writable directories in Cloud Functions are in-memory, so these
38
// operations are typically fast.)
39
- $cachePath = sys_get_temp_dir() . 'cached_value.txt';
+ $cachePath = sys_get_temp_dir() . '/cached_value.txt';
40
41
if (file_exists($cachePath)) {
42
// Read cached value from file
0 commit comments