From 78ee628312d43ccb6cb3a2f95ae98ade2eef478c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 27 Jun 2011 14:34:06 +0200 Subject: [PATCH] Use cache to skip blobstreaming check if server does not support it --- libraries/blobstreaming.lib.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/blobstreaming.lib.php b/libraries/blobstreaming.lib.php index fc5265b5e3..c7250dcc26 100644 --- a/libraries/blobstreaming.lib.php +++ b/libraries/blobstreaming.lib.php @@ -47,6 +47,10 @@ function initPBMSDatabase() */ function checkBLOBStreamingPlugins() { + if (PMA_cacheGet('skip_blobstreaming', true) === true) { + return false; + } + // load PMA configuration $PMA_Config = $GLOBALS['PMA_Config'];