]> _ Git - fluidbook-hosting.git/commitdiff
wait #5074 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 28 Mar 2022 13:45:09 +0000 (15:45 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 28 Mar 2022 13:45:09 +0000 (15:45 +0200)
VacheronSSO/_sso.php

index ca2123f23bcd5d20e7388d3356a7201b89279694..44770eb87cf78424dd15a60f5e619429682fb44e 100644 (file)
@@ -223,7 +223,7 @@ function getMetadata()
 {
     global $metadata;
     $limit = time() - 14400;
-    $cachefile = __DIR__ . '/_metadata';
+    $cachefile = __DIR__ . '/_metadata_' . md5($metadata);
 
     if (!file_exists($cachefile) || filesize($cachefile) <= 20 || filemtime($cachefile) < $limit) {
         $client = new Client();