From ceba3c8aa92421f8c85478dc10c8205f08b10298 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 24 Mar 2009 20:16:42 +0000 Subject: [PATCH] additional check --- bs_play_media.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bs_play_media.php b/bs_play_media.php index c681be6d3..6421f76d8 100644 --- a/bs_play_media.php +++ b/bs_play_media.php @@ -33,6 +33,8 @@ { // retrieve BS server variables from PMA configuration $bs_server = $PMA_Config->get('BLOBSTREAMING_SERVER'); + if (empty($bs_server)) die('No blob streaming server configured!'); + $bs_file_path = "http://" . $bs_server . '/' . $bsReference; if (isset($customType) && $customType)