Skip to content

Commit 1755039

Browse files
authored
Disable plugin caching in diagnostic mode
This feature helps to diagnose and avoid caching issues, by getting a fresh copy from the web server.
1 parent aeb9f62 commit 1755039

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

php/getplugins.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,4 +552,7 @@ function testRemoteRequests($remoteRequests)
552552
closedir($handle);
553553
}
554554

555-
CachedEcho::send($jResult,"application/javascript",true);
555+
if ($do_diagnostic)
556+
CachedEcho::send($jResult,"application/javascript",false);
557+
else
558+
CachedEcho::send($jResult,"application/javascript",true);

0 commit comments

Comments
 (0)